Thanks for replies on this issue. No one said what I was hoping someone
> would tell me, however, namely that avoiding the use of leading zeros
> was a well-known design principle. Advice like
> "As a matter of good application design (or at least, if you'd just
> as soon avoid all kinds of unnecessary complications) don't design
> a system that employs labels, or ID numbers, or "article numbers"
> in which leading zeros are significant or even necessary"
> still seems to me a sensible choice, however.
That's fine advice to the people designing the labeling system in the first place. But if you're implementing a database that manages data from a preexisting schema, you don't usually have the luxury of changing the way ID numbers are assigned. If the system already makes use of significant leading zeroes, you have to accomodate that.
Barry Margolin, snipped-for-privacy@alum.mit.edu Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***