NOT NULL - newbie
| From: | W Roothman | Date: | Wed, 05 Oct 2005 10:15:36 +0000 |
| Subject: | NOT NULL - newbie | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-40469@lists.php.net to get a copy of this message | ||
Dear All,
When declaring values for an identifier with unsigned auto_increment, is it necessary to include NOT
NULL?
my_id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
or
my_id INT NOT NULL UNSIGNED AUTO_INCREMENT PRIMARY KEY,
Regards,
Will