Sybase数据库提示The 'CREATE TABLE' command is not allowed within a multi-statement

来源:互联网 发布:小米抢购软件 原理 编辑:程序博客网 时间:2024/05/29 15:01
sybase在一个事物中使用create等语句报错:
创建临时表失败 
 The 'CREATE TABLE' command is not allowed within a multi-statement transaction in the 'Databasename' database.
 
解决办法是:在数据库参属性参数中勾选上"ddl in tran"选项,或者执行下面语句:
sp_dboption 'ddl in tran',true1

阅读全文
0 0
原创粉丝点击