A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Create Table Statement



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2004, 04:02 PM
nagesh
external usenet poster
 
Posts: n/a
Default Create Table Statement

Hi all

i am getting Problem with default word in Create Table
statement

Create Table test2
(Id autoincrement,
name text(255) ,
age int not null default value 20)

  #2  
Old June 4th, 2004, 04:12 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default Create Table Statement

Drop the word "value".

Normally in Access DDL, we use COUNTER for autoincrement, and INTEGER for
int. You may also find that some of these options in DDL statements work
only if you execute the query statement under ADO.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"nagesh" wrote in message
...
Hi all

i am getting Problem with default word in Create Table
statement

Create Table test2
(Id autoincrement,
name text(255) ,
age int not null default value 20)



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:30 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.