roldahayes Posted July 11, 2008 Share Posted July 11, 2008 Create Table PageType ( TypeID int identity primary key, TypeDesc varChar(max) ) Create Table Quotes ( QuoteID int identity primary key, PageTypeID int not null foreign key references PageType, Quote nVarChar(max), Author nVarChar(300) ) get this error... #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'identity primary key, TypeDesc varChar(max) ) Create Table Quotes ( ' at line 2 Link to comment https://forums.phpfreaks.com/topic/114307-whats-wrong-with-this/ Share on other sites More sharing options...
Barand Posted July 11, 2008 Share Posted July 11, 2008 That is MS-SQL code, not MySQL Link to comment https://forums.phpfreaks.com/topic/114307-whats-wrong-with-this/#findComment-587841 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.