Skip to content
Mathias Rangel Wulff edited this page Jun 12, 2015 · 8 revisions

Keyword 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