Error 1171: All parts of a PRIMARY KEY must be NOT NULL

You are viewing an old version of this article. View the current version here.
Error CodeSQLSTATEErrorDescription
117142000ER_PRIMARY_CANT_HAVE_NULLAll parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead

Possible Causes and Solutions

This article doesn't currently contain any content. You can help!


Comments loading...
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.