Skip to content

column default value in SQL #5705

Description

@TarantoolBot

The default value for a column in SQL is set using the DEFAULT keyword.
The expression following this keyword will be evaluated as the default
value or a function that evaluates to that value. If the expression is
a literal, it will be evaluated as a value. Also, if the expression is
a unary + or - and the following literal is of type INTEGER,
DOUBLE, or DECIMAL, it will also be evaluated as a value.
Otherwise, it will be evaluated as a function.
Requested by @ImeevMA in tarantool/tarantool@78e0faa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions