Jump to content

[SOLVED] error when setting up a table


runnerjp

Recommended Posts

Error

SQL query:

ALTER TABLE `users` ADD `status` ENUM( '0', '1' ) UNSIGNED NOT NULL DEFAULT '0'

MySQL said: Documentation
#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 'UNSIGNED NOT NULL DEFAULT '0'' at line 1 

 

trying to add a status 0 and 1 but it will not make the table...why???

Link to comment
https://forums.phpfreaks.com/topic/51800-solved-error-when-setting-up-a-table/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.