提交 aac088ff authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Place DROP ON UPDATE after SET ON UPDATE in documentation

上级 b0b3c31b
......@@ -357,11 +357,11 @@ ALTER TABLE [ IF EXISTS ] tableName ALTER COLUMN columnName
| { SET DEFAULT expression }
| { DROP DEFAULT }
| { SET ON UPDATE expression }
| { DROP ON UPDATE }
| { SET NOT NULL }
| { DROP NOT NULL } | { SET NULL }
| { SET DATA TYPE dataType }
| { SET { VISIBLE | INVISIBLE } }
| { DROP ON UPDATE } }
| { SET { VISIBLE | INVISIBLE } } }
","
Changes the data type of a column, rename a column,
change the identity value, or change the selectivity.
......@@ -383,6 +383,8 @@ DROP DEFAULT removes the default value of a column.
SET ON UPDATE changes the value that is set on update if value for this column is not specified in update statement.
DROP ON UPDATE removes the value that is set on update of a column.
SET NOT NULL sets a column to not allow NULL. Rows may not contains NULL in this column.
DROP NOT NULL and SET NULL set a column to allow NULL. The row may not be part of a primary key.
......@@ -392,8 +394,6 @@ SET DATA TYPE changes the data type of a column.
SET INVISIBLE makes the column hidden, i.e. it will not appear in SELECT * results.
SET VISIBLE has the reverse effect.
DROP ON UPDATE removes the value that is set on update of a column.
This command commits an open transaction in this connection.
","
ALTER TABLE TEST ALTER COLUMN NAME CLOB;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论