8. SQL Statements : CREATE TABLE : Column Specification--Define Column Characteristics : Null Clause
 
Share this page                  
Null Clause
The WITH|NOT NULL clause in the column specification specifies whether a column accepts null values.
This clause has the following format:
WITH NULL | NOT NULL
WITH NULL
Indicates that the column accepts nulls. If no value is supplied by the user, null is inserted. WITH NULL is the default for all data types except a SYSTEM_MAINTAINED logical key.
NOT NULL
Indicates that the column does not accept nulls.