Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
lang_altertable.html

Index Summary Markup Original


R-14448-43678-05303-33112-56516-08961-61623-18737 tcl slt th3 src

Canonical usage: syntax/alter-table-stmt.html

/* IMP: R-14448-43678 */
# EVIDENCE-OF: R-14448-43678 -- syntax diagram alter-table-stmt

R-04809-48839-10887-30090-32156-33191-45866-61957 tcl slt th3 src

Canonical usage: syntax/column-def.html

/* IMP: R-04809-48839 */
# EVIDENCE-OF: R-04809-48839 -- syntax diagram column-def

R-57758-25148-37865-00236-40164-14630-09722-57389 tcl slt th3 src

Canonical usage: syntax/column-constraint.html

/* IMP: R-57758-25148 */
# EVIDENCE-OF: R-57758-25148 -- syntax diagram column-constraint

R-49840-19979-33921-00826-28182-39364-17949-14512 tcl slt th3 src

Canonical usage: syntax/conflict-clause.html

/* IMP: R-49840-19979 */
# EVIDENCE-OF: R-49840-19979 -- syntax diagram conflict-clause

R-05949-14992-08035-18700-31063-00582-56557-23299 tcl slt th3 src

Canonical usage: syntax/expr.html

/* IMP: R-05949-14992 */
# EVIDENCE-OF: R-05949-14992 -- syntax diagram expr

R-40210-12599-36231-03864-46176-41928-03203-14839 tcl slt th3 src

Canonical usage: syntax/filter-clause.html

/* IMP: R-40210-12599 */
# EVIDENCE-OF: R-40210-12599 -- syntax diagram filter-clause

R-39106-18215-63620-21950-01426-37390-34436-15307 tcl slt th3 src

Canonical usage: syntax/over-clause.html

/* IMP: R-39106-18215 */
# EVIDENCE-OF: R-39106-18215 -- syntax diagram over-clause

R-43427-44402-29451-17649-47289-60254-55729-32554 tcl slt th3 src

Canonical usage: syntax/frame-spec.html

/* IMP: R-43427-44402 */
# EVIDENCE-OF: R-43427-44402 -- syntax diagram frame-spec

R-27998-48590-15759-55327-24057-45544-61498-20485 tcl slt th3 src

Canonical usage: syntax/ordering-term.html

/* IMP: R-27998-48590 */
# EVIDENCE-OF: R-27998-48590 -- syntax diagram ordering-term

R-11045-52870-41853-22612-28711-29067-44165-34250 tcl slt th3 src

Canonical usage: syntax/raise-function.html

/* IMP: R-11045-52870 */
# EVIDENCE-OF: R-11045-52870 -- syntax diagram raise-function

R-07822-20600-60008-25390-21808-35959-11282-32675 tcl slt th3 src

Canonical usage: syntax/select-stmt.html

/* IMP: R-07822-20600 */
# EVIDENCE-OF: R-07822-20600 -- syntax diagram select-stmt

R-48339-53472-43967-43694-30651-22239-39991-26499 tcl slt th3 src

Canonical usage: syntax/common-table-expression.html

/* IMP: R-48339-53472 */
# EVIDENCE-OF: R-48339-53472 -- syntax diagram common-table-expression

R-34484-27817-31904-59996-06509-56853-54385-06908 tcl slt th3 src

Canonical usage: syntax/compound-operator.html

/* IMP: R-34484-27817 */
# EVIDENCE-OF: R-34484-27817 -- syntax diagram compound-operator

R-62819-25014-14742-19526-07437-11316-46744-34017 tcl slt th3 src

Canonical usage: syntax/join-clause.html

/* IMP: R-62819-25014 */
# EVIDENCE-OF: R-62819-25014 -- syntax diagram join-clause

R-22251-01544-43178-13583-65163-47242-05139-28044 tcl slt th3 src

Canonical usage: syntax/join-constraint.html

/* IMP: R-22251-01544 */
# EVIDENCE-OF: R-22251-01544 -- syntax diagram join-constraint

R-37592-60550-55049-61415-11391-65005-23058-12335 tcl slt th3 src

Canonical usage: syntax/join-operator.html

/* IMP: R-37592-60550 */
# EVIDENCE-OF: R-37592-60550 -- syntax diagram join-operator

R-27998-48590-15759-55327-24057-45544-61498-20485 tcl slt th3 src

Canonical usage: syntax/ordering-term.html

/* IMP: R-27998-48590 */
# EVIDENCE-OF: R-27998-48590 -- syntax diagram ordering-term

R-55434-02683-06673-33913-45638-17712-08878-40551 tcl slt th3 src

Canonical usage: syntax/result-column.html

/* IMP: R-55434-02683 */
# EVIDENCE-OF: R-55434-02683 -- syntax diagram result-column

R-48195-34360-11192-44367-16579-00892-09818-30155 tcl slt th3 src

Canonical usage: syntax/table-or-subquery.html

/* IMP: R-48195-34360 */
# EVIDENCE-OF: R-48195-34360 -- syntax diagram table-or-subquery

R-48345-61330-56074-37373-15233-53014-54747-65452 tcl slt th3 src

Canonical usage: syntax/window-defn.html

/* IMP: R-48345-61330 */
# EVIDENCE-OF: R-48345-61330 -- syntax diagram window-defn

R-43427-44402-29451-17649-47289-60254-55729-32554 tcl slt th3 src

Canonical usage: syntax/frame-spec.html

/* IMP: R-43427-44402 */
# EVIDENCE-OF: R-43427-44402 -- syntax diagram frame-spec

R-54087-60058-62358-32894-17881-22841-28402-46036 tcl slt th3 src

Canonical usage: syntax/foreign-key-clause.html

/* IMP: R-54087-60058 */
# EVIDENCE-OF: R-54087-60058 -- syntax diagram foreign-key-clause

R-36911-54969-15236-22853-38940-32913-12354-42363 tcl slt th3 src

Canonical usage: syntax/literal-value.html

/* IMP: R-36911-54969 */
# EVIDENCE-OF: R-36911-54969 -- syntax diagram literal-value

R-11175-37461-37361-55818-19791-03595-13461-03099 tcl slt th3 src

Canonical usage: syntax/signed-number.html

/* IMP: R-11175-37461 */
# EVIDENCE-OF: R-11175-37461 -- syntax diagram signed-number

R-62486-51739-58335-52148-04934-35692-56858-32635 tcl slt th3 src

Canonical usage: syntax/type-name.html

/* IMP: R-62486-51739 */
# EVIDENCE-OF: R-62486-51739 -- syntax diagram type-name

R-11175-37461-37361-55818-19791-03595-13461-03099 tcl slt th3 src

Canonical usage: syntax/signed-number.html

/* IMP: R-11175-37461 */
# EVIDENCE-OF: R-11175-37461 -- syntax diagram signed-number

R-32485-24703-27801-29483-21531-11705-09294-53002 tcl slt th3 src

The RENAME TO syntax changes the name of table-name to new-table-name.

/* IMP: R-32485-24703 */
# EVIDENCE-OF: R-32485-24703 The RENAME TO syntax changes the name of
# table-name to new-table-name.

R-18692-17694-63404-11739-00590-02418-57066-37741 tcl slt th3 src

If the table being renamed has triggers or indices, then these remain attached to the table after it has been renamed.

/* IMP: R-18692-17694 */
# EVIDENCE-OF: R-18692-17694 If the table being renamed has triggers or
# indices, then these remain attached to the table after it has been
# renamed.

R-10948-48115-30420-45129-26938-33308-29061-07454 tcl slt th3 src

The ADD COLUMN syntax is used to add a new column to an existing table.

/* IMP: R-10948-48115 */
# EVIDENCE-OF: R-10948-48115 The ADD COLUMN syntax is used to add a new
# column to an existing table.

R-23336-07085-33379-01813-11813-48961-61224-20101 tcl slt th3 src

The new column is always appended to the end of the list of existing columns.

/* IMP: R-23336-07085 */
# EVIDENCE-OF: R-23336-07085 The new column is always appended to the
# end of the list of existing columns.

R-14302-38934-55936-51388-09326-06316-22131-13547 tcl slt th3 src

The new column may take any of the forms permissible in a CREATE TABLE statement, with the following restrictions:

/* IMP: R-14302-38934 */
# EVIDENCE-OF: R-14302-38934 The new column may take any of the forms
# permissible in a CREATE TABLE statement, with the following
# restrictions:

R-45735-05060-45707-02597-62787-16150-27278-23647 tcl slt th3 src

The column may not have a PRIMARY KEY or UNIQUE constraint.

/* IMP: R-45735-05060 */
# EVIDENCE-OF: R-45735-05060 The column may not have a PRIMARY KEY or
# UNIQUE constraint.

R-37287-38238-38896-00540-17030-60706-04523-55035 tcl slt th3 src

The column may not have a default value of CURRENT_TIME, CURRENT_DATE, CURRENT_TIMESTAMP, or an expression in parentheses.

/* IMP: R-37287-38238 */
# EVIDENCE-OF: R-37287-38238 The column may not have a default value of
# CURRENT_TIME, CURRENT_DATE, CURRENT_TIMESTAMP, or an expression in
# parentheses.

R-29868-13536-10966-03336-45139-07308-57583-25685 tcl slt th3 src

If a NOT NULL constraint is specified, then the column must have a default value other than NULL.

/* IMP: R-29868-13536 */
# EVIDENCE-OF: R-29868-13536 If a NOT NULL constraint is specified, then
# the column must have a default value other than NULL.

R-13876-13274-06329-28290-52708-34927-05709-26395 tcl slt th3 src

If foreign key constraints are enabled and a column with a REFERENCES clause is added, the column must have a default value of NULL.

/* IMP: R-13876-13274 */
# EVIDENCE-OF: R-13876-13274 If foreign key constraints are enabled and
# a column with a REFERENCES clause is added, the column must have a
# default value of NULL.

R-16727-13091-18593-02936-45365-35968-45386-40640 tcl slt th3 src

The column may not be GENERATED ALWAYS .

/* IMP: R-16727-13091 */
# EVIDENCE-OF: R-16727-13091 The column may not be GENERATED ALWAYS .

R-64634-29359-61184-64182-15828-53059-45249-47923 tcl slt th3 src

Note also that when adding a CHECK constraint, the CHECK constraint is not tested against preexisting rows of the table.

/* IMP: R-64634-29359 */
# EVIDENCE-OF: R-64634-29359 Note also that when adding a CHECK
# constraint, the CHECK constraint is not tested against preexisting
# rows of the table.

R-41438-41245-47933-47570-18885-03208-62677-50789 tcl slt th3 src

This can result in a table that contains data that is in violation of the CHECK constraint.

/* IMP: R-41438-41245 */
# EVIDENCE-OF: R-41438-41245 This can result in a table that contains
# data that is in violation of the CHECK constraint.