NOT NULL
This simply requires a field to have a value:
1 2 3 4 5 | CREATE TABLE People ( ID INT NOT NULL, FirstName VARCHAR(255) NOT NULL, Country VARCHAR(255) ) |
The above code means that the table People cannot have a record inserted or updated if it means ID or FirstName do not have any content. This can be useful for user account information and may act as a failsafe for requiring input.
