Skip to content

Default

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

DEFAULT

Syntax:

    CREATE TABLE tableid (
        columnid type DEFAULT expression
    );

AlaSQL supports column DEFAULT keyword:

    alasql("CREATE TABLE test (a INT, \
            b INT DEFAULT 100)");

See also: [INSERT DEFAULT](Insert Default)

Clone this wiki locally