Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Double versus Text - Access Query Performance

Status
Not open for further replies.

Aurillius

Programmer
Jun 3, 2004
60
0
0
CA
Hi,
I have created a unique number for my MS Access 2007 table. This number takes 3 of the existing fields and concatenates them together. The DB has a temporary import table which will only add records to the main table if the unique number doesn't exist in the master table.

What I would like to know is that would it increase performance to store this field as a DOUBLE or should I keep it as TEXT.

An example of this number would be:
0000131003111
(13 digits)
Thanks,
Mark
 

Also, if you talking Double, you would get 131003111 (no leading zeros) instead of "0000131003111" as Text

Have fun.

---- Andy
 
How are ya Aurillius . . .

If you want to maintain the leading zero's then your stuck with [blue]text[/blue]. Otherwise indexing the field is paramount (already stated by [blue]dhookom[/blue]).

[blue]Your Thoughts? . . .[/blue]

See Ya! . . . . . .

Be sure to see faq219-2884 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top