SQL error check
i was told to run this query
[sql]CREATE TABLE `useralias` ( `userid` INT(10) UNSIGNED DEFAULT '0' NOT NULL, `alias` VARCHAR(50) NOT NULL ); [/sql]
and I got
[sql]Database error in vBulletin Control Panel 2.2.6:
Invalid SQL: CREATE TABLE `useralias` ( `userid` INT(10) UNSIGNED DEFAULT '0' NOT NULL, `alias` VARCHAR(50) NOT NULL );
mysql error: You have an error in your SQL syntax near '; ' at line 1
mysql error number: 1064[/sql]
I was wondering if anyone could tell me what's wrong with the query or something, it would be of great help =)
|