D
dalin
good morning everyone..
after a quick, and unfortunately unsuccessful search, i was unable t
find the answer to what must be a very simple question...
heres my situation... i am working with a database that will stor
primarily id numbers for various form field (cityID, stateID, streetID
etc.)...
i -thought- i had read somewhere that it was more efficient to stor
numbers as 'text' fields if they were not going to be used fo
computational means...
so heres the question... whats the most efficient way to stor
relatively small numbers (0 to 4 digits)...
as 'integer' or 'text'...
and on a related note, if my values have leading zeros, should i stor
them as a truncated number(126 vs. original value of 0126), an
concatenate the 0's back on when displaying the values?
thanks for any insight...
-
dali
after a quick, and unfortunately unsuccessful search, i was unable t
find the answer to what must be a very simple question...
heres my situation... i am working with a database that will stor
primarily id numbers for various form field (cityID, stateID, streetID
etc.)...
i -thought- i had read somewhere that it was more efficient to stor
numbers as 'text' fields if they were not going to be used fo
computational means...
so heres the question... whats the most efficient way to stor
relatively small numbers (0 to 4 digits)...
as 'integer' or 'text'...
and on a related note, if my values have leading zeros, should i stor
them as a truncated number(126 vs. original value of 0126), an
concatenate the 0's back on when displaying the values?
thanks for any insight...
-
dali