Thread: Data Type
View Single Post
  #5  
Old December 16th, 2009, 05:48 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Data Type

Steve

Just because you call it a "number" doesn't make it a true number. As
others have pointed out, if you don't need to "do math" on it, it isn't
really a number.

If it isn't really a number, don't 'type' it as a numeric data type. Access
expects different things when using numbers, and handles numbers differently
(see comment in-thread about leading zeros...).

And if you are concerned about "the efficiency" of the database, I don't
believe you'd notice the difference in either performance or storage, using
Text vs. Numeric data types ... unless your database had millions of rows!

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Steve" wrote in message
...
Greetings:

I have numeric data with which I do not need to perform calculations nor
do
I need to sort it. Is it better to store this type of data as a number or
text in terms of the efficiency of the database? Thanks for any thoughts
on
this.
--
Steve