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