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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create Table query help???

Status
Not open for further replies.

Vachaun22

Programmer
Oct 7, 2003
171
US
I know this is going to sound really stupid, but for some reason I can't find the answer anywhere on the net.

I'm running this SQL command on an Access 2000 database:

CREATE TABLE F_UNITS (FU_ID COUNTER CONSTRAINT PrimaryKey PRIMARY KEY, FU_UNIT_NUMBER INTEGER, FU_PERMIT_NUMBER INTEGER, FU_WEIGHT INTEGER);

This is all fine and dandy, but how would I make say a floating point (or single/double) data type, or a long integer on a field? For some reason I can't find a whole lot of information on running a Create Table command against an Access database, and I can't find the key words to define the different data types.

Any help?
 
for single use REAL
for double use FLOAT

Search the JetSQL help file for "Data type SQL"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top