We have a table that contains the valid currency codes. We are choosing to use a numeric value as the primary key rather than a 3 char ISO Currency code, for example.
General consensus has concluded that this CurrencyId
column should contain values that begin with zero. Since the US dollar is the primary currency for us, it claimed the first position with a value of 0.
My thought is that identity columns should not start at zero for the sole reason that some languages initialize numerics to zero and as a result the currency code may be unintentionally set to USD
when really it was never assigned.
Am I all wet? I would prefer to assign a CurrencyId
of 1 to USD
.