Skip to content

Insert Default Values

Andrey Gershun edited this page May 28, 2015 · 3 revisions

INSERT DEFAULT VALUES

Syntax:

    INSERT INTO tableid DEFAULT VALUES;

For example:

   alasql('CREATE TABLE Orders (OrderNo INT DEFAULT 1, Desc STRING DEFAULT "Something")');
   alasql('INSERT INTO Orders DEFAULT VALUES');

See also: DEFAULT, INSERT

Clone this wiki locally