0

is it necessary to specify not null on a column you are defining as the primary key? Seems like that was included in the definition of pk

8th May 2016, 2:22 AM
Andrew
4 Respuestas
+ 1
Primary key can not be null. For example. ID is a great primary key. Every entry MUST have an entry and cannot be null.
21st Jun 2016, 12:36 AM
JR Sauerland (The Real Verdict)
JR Sauerland (The Real Verdict) - avatar
0
By default Primary key will be NOT NULL and you will not be alter the column to NULl
22nd Jun 2016, 5:36 PM
Tijo Joseph
Tijo Joseph - avatar
0
Yes. For Primary Key by default it's checking NOT NULL and UNIQUE conditions.
26th Jun 2016, 9:15 AM
Sai Kartheek
Sai Kartheek - avatar
0
primary key cant be null
18th Jul 2016, 12:47 AM
matthew de jesus
matthew de jesus - avatar