MySQL Forums
Forum List  »  MySQL Query Browser

Error creating any table
Posted by: Shawn Berg
Date: May 23, 2005 05:14PM

When creating any table I receive an error. Here is the SQL generated by a very simple table I am trying to create:

CREATE TABLE `dbdonflynn`.`tblproperties` (
`property_id` INTEGER UNSIGNED NOT NULL DEFAULT AUTO_INCREMENT,
PRIMARY KEY(`property_id`)
)
TYPE = MYISAM;

The error is as follows:

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 'AUTO_INCREMENT,
PRIMARY KEY(`property_id`)
)
TYPE = MYISAM' at line 2

Anybody?

Options: ReplyQuote


Subject
Written By
Posted
Error creating any table
May 23, 2005 05:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.