Skip to content
Andrey Gershun edited this page May 28, 2015 · 8 revisions

NULL

AlaSQL supports NULL keyword.

Syntax:

    NULL

JavaScript emulation

AlaSQL uses undefined value to emulate SQL NULL constant instead of null.

NULL Constraint

You can set NULL column constraint. In this example the partname column can accept NULL values.

CREATE TABLE dbo.Parts (
  partid   INT         NOT NULL PRIMARY KEY,
  partname VARCHAR(25) NULL
);

See also: ISNULL, [NOT NULL](Not Null)

Clone this wiki locally