提交 3cd2ac16 authored 作者: Thomas Mueller's avatar Thomas Mueller

It is now allowed to truncate a table if referential integrity has been disabled…

It is now allowed to truncate a table if referential integrity has been disabled for this table or database.
上级 ff6506a0
......@@ -774,10 +774,12 @@ DROP VIEW TEST_VIEW
"Commands (DDL)","TRUNCATE TABLE","
TRUNCATE TABLE tableName
","
Removes all rows from a table. Unlike DELETE FROM without where clause, this
command can not be rolled back. This command is faster than DELETE without where
clause. Only regular data tables without foreign key constraints can be
truncated. Linked tables can't be truncated.
Removes all rows from a table.
Unlike DELETE FROM without where clause, this command can not be rolled back.
This command is faster than DELETE without where clause.
Only regular data tables without foreign key constraints can be truncated
(except if referential integrity is disabled for this database or for this table).
Linked tables can't be truncated.
This command commits an open transaction.
","
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论