Since you can query a table on any column, why use such compound numbers at
all? A simple number will suffice to identify a customer, part, etc.. Use
a compound number to maintain compatability with an existing system, if the
user insists on it, or some other good reason.
This subject is touched on here, which I just happened to be looking at the
other day, although it is concerning a different topic:
http://www.sqlteam.com/item.asp?ItemID=2599
I believe that there are other websites in existence which deal with
normalization and such that might also delve into this concept, but I think
they would generally advise against using compound numbering schemes.
I could see this being an advantage if the identifier were "nemonic" in
nature. For example, you could use a 4-letter code to identify customers,
so DuPont would be DUPO and General Motors would be GEMO or something like
that and the users of the system would get to know the customer codes of
regular customers so they wouldn't have to look them up. But something
along the lines of DUPO12345678 would involve looking up the customer
anyway.
"Matt Smolic" <smolic@emerytelcom.net> wrote in message
news:10t0r4c1sgs7a00@corp.supernews.com...[color=blue]
> Does anyone know where I can get some info on creating customer account
> numbers, part numbers and such. In other words what the logic is behind
> their creation. I am not looking for code, just how they go about it. I
> don't want to use something like a phone number or anything else that may
> change over time. Any info would be greatly appreciated.
>
> Thanks Matt
>
>[/color]