Is there a way for me to NOT have a default value for a column in a table that I define as NOT NULL?
EXAMPLE SQL: mysql> CREATE TABLE FOO (foo1 int NOT NULL); Query OK, 0 rows affected (0.05 sec) mysql> DESCRIBE FOO; +-------+---------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+---------+------+-----+---------+-------+ | foo1 | int(11) | | | 0 | | +-------+---------+------+-----+---------+-------+ 1 row in set (0.00 sec) mysql> I don't want the default to be 0 (zero).... Any ideas? --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php