NOT NULL | NULL
Description
NOT NULL specifies that the column isn't allowed to contain null values. NULL, the default, specifies that the column accepts null values.
Click here to navigate to the Amazon Redshift docs page for this syntax.
Grammar Syntax
NOT NULL | NULL
Sample Source Patterns
Input Code:
CREATE TABLE table1 (
col1 INTEGER NOT NULL,
col2 INTEGER NULL
);
Output Code:
CREATE TABLE table1 (
col1 INTEGER NOT NULL,
col2 INTEGER NULL
)
COMMENT = '{ "origin": "sf_sc", "name": "snowconvert", "version": { "major": 0, "minor": 0, "patch": "0" }, "attributes": { "component": "redshift", "convertedOn": "09/17/2024" }}'
;
Related EWIs
There are no known issues.
Last updated