Skip to content

Not Null

Andrey Gershun edited this page May 25, 2015 · 4 revisions

NOT NULL

AlaSQL supports NOT NULL column constraints.

Please see this example:

CREATE TABLE dbo.Cities (
  cityid  CHAR(3)     NOT NULL PRIMARY KEY,
  city    VARCHAR(30) NOT NULL,
  region  VARCHAR(30) NULL,
  country VARCHAR(30) NOT NULL
);
Clone this wiki locally