-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
featureA new functionalityA new functionalityserver[area] Task relates to Tarantool's server (core) functionality[area] Task relates to Tarantool's server (core) functionalitysql[location] SQL manual[location] SQL manual
Description
The auto-increment feature can be set to any INTEGER or UNSIGNED
field of PRIMARY KEY using one of two ways:
- AUTOINCREMENT in column definition:
CREATE TABLE t (i INT, a INT AUTOINCREMENT, PRIMARY KEY (i, a));
CREATE TABLE t (i INT AUTOINCREMENT, a INT, PRIMARY KEY (i, a)); - AUTOINCREMENT in PRIMARY KEY definition:
CREATE TABLE t (i INT, a INT, PRIMARY KEY (i, a AUTOINCREMENT));
CREATE TABLE t (i INT, a INT, PRIMARY KEY (i AUTOINCREMENT, a));
Requested by @ImeevMA in tarantool/tarantool@08c7d7c.
Metadata
Metadata
Assignees
Labels
featureA new functionalityA new functionalityserver[area] Task relates to Tarantool's server (core) functionality[area] Task relates to Tarantool's server (core) functionalitysql[location] SQL manual[location] SQL manual