sqlserver2008R2 平添数据 not allowed within multi-statement transaction
sqlserver2008R2 平添数据 not allowed within multi-statement transaction
日期:2014-05-17 浏览次数:20754 次
sqlserver2008R2 添加数据 not allowed within multi-statement transaction 我向某表中添加一行数据,在修改数据界面直接添加 和用语句添加都会出这个错.
删除和修改该表中的数据都没有问题.
其他表没有出现这个问题.
No row was updated.
The data in row 9 was not committed.
Error Source :.Net SqlClient Data rovider.
Error message:Create Database statement not allowed within multi-statement transaction.
The Statement has been terminated.
这篇文章里有提到
4. 无法新增数据库表
com.sybase.jdbc2.jdbc.SybSQLException: The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'database_name' database.
sp_dboption database_name, 'ddl in tran', true
sp_dboption database_name, 'allow nulls by default', true