Cannot insert the value NULL into column 'ID', table 'XX'; column does not allow nulls. INSERT fails.
Unable to insert NULL value into column ID, table 'XX'; Null values are not allowed in columns. Insertion failed.
This is, I executed the stored procedure to report an error, in fact, the error is very simple, the id column cannot be empty, and then, when inserting, the id has no incoming parameters,
The reason is that my id has been changed from int type to bigint, and I forgot to set auto-growth.
Now the ID is not self-grown, it needs to be inserted, of course an error is reported.
|