Error 1171: All parts of a PRIMARY KEY must be NOT NULL
Error Code | SQLSTATE | Error | Description |
---|---|---|---|
1171 | 42000 | ER_PRIMARY_CANT_HAVE_NULL | All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead |
Contents
Possible Causes and Solutions
This article doesn't currently contain any content. You can help!
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.