Brian Dunning's Error Code Reference

MySQL Error 1171

SQLSTATE: 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

 

Comments

There are no user-submitted comments for this error code yet.