The table cannot be truncated if it has an open cursor or dirty readers.

原因

必须具有对表的互斥访问权。

操作

等待脏阅读器完成或关闭所有打开的游标并重新发出 TRUNCATE TABLE 命令。