SQL NOT NULL Constraint
1638
03-Nov-2015
what is NOT NULL Constraint in sql server .
Updated on 03-Nov-2015
Anonymous User
03-Nov-2015The NOT NULL constraint enforces a column to NOT accept NULL values.
The NOT NULL constraint enforces a field to always contain a value. This means that you cannot insert a new record, or update a record without adding a value to this field.
The following SQL enforces the "U_Id" column and the "LastName" column to not accept NULL values: