运行在SQL Server Management Studio中下面的查询“当前命令发生了严重错误”给出了下面的错误。SQL Server错误 -
update table_name set is_active = 0 where id = 3
A severe error occurred on the current command. The results, if any, should be discarded.
- 日志已被截断
- 有一个更新触发器,但这个心不是问题
- 事务计数为零(@@ TRANCOUNT)
我已经在数据库中的其他几个表上尝试过相同的更新语句,并且它们工作正常。
DBCC CHECKTABLE('table_name');
给
DBCC results for 'table_name'.
There are 13 rows in 1 pages for object "table_name".
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
今天我有完全一样的错误。抛出错误的列甚至没有涉及被破坏的索引。 – 2013-03-15 10:02:18