Jump to content

setting default integers


beennn

Recommended Posts

how can i set a default value for an integer?iv tried:luck int DEFAULT '0'but im returned:#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 ' luck int DEFAULT '0' at line 4EDIT: My mistake; i didnt realise i needed to put ADD in front of every new collum i wanted.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...