Jack Ross
2011-02-25 17:15:41 UTC
CREATE TABLE mail (
UserTo tinytext NOT NULL,
UserFrom tinytext NOT NULL,
Subject mediumtext NOT NULL,
Message longtext NOT NULL,
status text NOT NULL,
SentDate text NOT NULL,
mail_id int(80) NOT NULL auto_increment,
PRIMARY KEY (mail_id)
) TYPE=MyISAM;
But I get this error message:
Msg 102, Level 15, State 1, Line 9
Incorrect syntax near 'auto_increment'.
I've only used sql a couple times before, but someone else made the scripts for me. Help would be very much appreciated :)