0

If i write null for place id

If i write null for place id by insert what i get?

23rd Feb 2018, 6:03 AM
Alexandr
Alexandr - avatar
3 Answers
+ 2
Explicitly inserting a null value into a column marked as not null (primary keys are not null) will result in a failure. Even if the column has autoincrement or default value - explicitly provided value has a priority over default.
23rd Feb 2018, 6:48 AM
deFault
+ 1
Why canā€™t you try it yourself)?
23rd Feb 2018, 6:05 AM
Leshark
Leshark - avatar
0
i dont have right now sql
23rd Feb 2018, 6:08 AM
Alexandr
Alexandr - avatar