Zwanzig Jahre später

by Volker Weber

Wir haben für die Vergabe von unserer Kundennummern einen Bereich von 1-99999. Aktuell sind wir bei der Nummer 96000. Es ist also nötig, dass wir den Nummernkreis aufbohren; oder hast Du eine andere Idee?

Wenn wir den Schlüssel um eine Stelle verlängern, steht er in 200 Jahren schon wieder auf der Matte.

Comments

Ich würde "Kundenleichen" löschen. geht schneller ... ;)

Alphanumerische Kundennummern. Gleichbleibende Länge und haltbarer als eine weitere Stelle. Dabei noch vollständig abwärtskompatibel.

Volker,

ist doch eine nette Sache, wenn Du wiederkehrende Service Einnahmen hast ;-)

Was ist denn das Problem dabei ein oder zwei Stellen mehr zu spendieren? Speicherplatz? Jahreszahlen auch zweistellig? ;-)

;-)

Tja, was sind schon 200 Jahre :-) Nicht mehr als eine Randnote in der Geschichte.
Wir sollten endlich von den kurzfristigen Lösungen wegkommen, und mal anfangen, langfristig zu denken.

Hatt ich auch mal als Services Engagement Die Firma wollte unbedingt Assetbeträge von > 100 Mio DM damals haben. Ich meinte dann "wartet doch auf den Euro ;-)"

@Markus: Worauf basiert Deine Annahme der Abwärtskompatibilität? In einem Feld, das vorher eine natürliche Zahl war, auch Buchstaben zuzulassen erhält m.E. die Abwärtskompatibilität nur in Ausnahmen.

Dem Wertebereich sieht man doch schon an, dass die "Nummern" als Zeichenketten und nicht als Integers gespeichert werden

Stimmt so nicht, Marcus.

Der Wertebereich von Integer-Variablen variiert. In Java liegt er beispielsweise bei -2147483648 bis 2147483647.

Michael Sedlaczek, 2006-06-09 10:42

Post a comment











Shall I remember this for you?




Use your full name and a working email address. Unless you want your comment to be removed. No kidding.



Recent comments

Ben Poole on Finally getting started on last.fm at 12:41
Volker Weber on Finally getting started on last.fm at 12:31
Ben Rose on Finally getting started on last.fm at 12:22
Yves Luther on Coming up next Thursday: sticky and sweet at 12:19
Hartmut Wiehr on Wo gibt es gescheite CD-Läden? at 11:13
Michael Becker on Wo gibt es gescheite CD-Läden? at 10:26
heiko hebig on Amazing photos - all taken with a mobile phone at 01:50
Chris Reckling on Finally getting started on last.fm at 00:53
Alexander Kluge on Finally getting started on last.fm at 22:31
Volker Weber on Finally getting started on last.fm at 22:22
Jamey Shiels on Synchronizing iPhone with ... Lotus Notes at 22:10
Dominik Schwind on Finally getting started on last.fm at 21:25
Kevin Pettitt on Showstopper for Lotus Connections at 20:45
Martin Hiegl on Showstopper for Lotus Connections at 19:27
goran angelov on iPhone: Can't hear through the receiver or speakers? at 18:53
Sean Cull on I have seen faster at 18:27
Matthias Leisi on Coming up next Thursday: sticky and sweet at 18:21
Ted Stanton on Showstopper for Lotus Connections at 18:17
Handly Cameron on Showstopper for Lotus Connections at 18:15
Volker Weber on Showstopper for Lotus Connections at 18:11
Alan Lepofsky on Showstopper for Lotus Connections at 18:09
Volker Weber on Showstopper for Lotus Connections at 18:04
Ben Rose on Showstopper for Lotus Connections at 18:04
Ted Stanton on Showstopper for Lotus Connections at 17:52
Ben Poole on Showstopper for Lotus Connections at 17:48

Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Frequently asked questions

Twitter Updates

More >

Poll

Can you bring a camera phone to work?

Getting poll results. Please wait...

Local time is 17:31

visitors.gif
161 visitors online

News

Other sources of news, imported into my own format to make them more accessible:

Heise Online
Schlagzeilen
Weather

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Got the T-shirt?

Got the T-shirt?
Are you buying from the US?

Systems Architecture

This site runs on an Apache web server on top of the Linux operating system. The content is managed with MovableType which is implemented in Perl. Last but not least the HTML code your browser sees is put together with PHP.

© 1992-2008 Volker Weber.
All Rights Reserved.

Impressum