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!

Create table error

Status
Not open for further replies.

hpvic03

Technical User
Aug 2, 2006
89
0
0
Whenever I run this SQL I get the error: A table must have at least one column. What is wrong with it?

CREATE TABLE infoTable {
infoID Integer not null auto_increment,
urlprefix varchar(100),
name varchar(100),
fullurl varchar(100),
email varchar(100),
picdes Text,
direc Text,
dirlen varchar(100),
primary key (infoID)
}

Any help would be greatly appreciated!
 
CREATE TABLE infoTable [!]([/!]

Use parenthesis !

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top