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

Problem with CREATE statement... 1

Status
Not open for further replies.

degroat

Programmer
Sep 15, 2003
58
US
Can someone please tell me what I am doing wrong here:

create table order (oid int unsigned auto_increment primary key, bname varchar(25), baddr1 varchar(50), baddr2 varchar(50), bcity varchar(25), bstate char(2), bzip varchar(8), sname varchar(25), saddr1 varchar(50), saddr2 varchar(50), scity varchar(25), sstate varchar(2), szip varchar(8), phone varchar(20), email varchar(50), shipmethod varchar(4), newsletter int, ip varchar(15), approval_num int, ref_num int, leaseline int, avs char(2), avs2 char(1), cvm_match char(1))
 
You have an error in your SQL syntax near 'order(oid int unsigned auto_increment primary key, bname varchar(25), baddr1 var' at line 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top