NOT NULL - newbie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux