- Joined
- Apr 29, 2005
- Messages
- 6,400
- Reaction score
- 131
Hi,
For the first time in my life I'm using mssql, I'm currently trying to create a table, with a query but apparently mssql has a different syntax as mysql.
Could someone tell me what's wrong with this query:
Error message: Msg 102, Level 15, State 1, Line 2
Incorrect syntax near 'auto_increment'.
For the first time in my life I'm using mssql, I'm currently trying to create a table, with a query but apparently mssql has a different syntax as mysql.
Could someone tell me what's wrong with this query:
Code:
CREATE TABLE rageweb (
id int(32) NOT NULL auto_increment,
news_text TEXT NOT NULL default '',
author varchar(20) NOT NULL default '',
subject varchar(255) NOT NULL default '',
date char(19) NOT NULL default '',
PRIMARY KEY (id)
) TYPE=MyISAM;
Error message: Msg 102, Level 15, State 1, Line 2
Incorrect syntax near 'auto_increment'.

