当前位置: 代码迷 >> 综合 >> Sybase修改表字段时,报错“the 'select into 'database option is not enabled ”
  详细解决方案

Sybase修改表字段时,报错“the 'select into 'database option is not enabled ”

热度:94   发布时间:2024-01-13 03:40:18.0

sybase,在对表结构进行修改的时候出现一个错误:

sql:
alter table testTable add fieldName int
error:
the   'select   into'database   option   is   not   enabled   for   database XXX。。。

 

解决方法:

use   master     
go   
sp_dboption   'your dbName','select into/bulkcopy/pllsort',true   
go  

sp_dboption存储过程用于显示或更改数据库选项

select into/bulkcopy 当为 true 时,允许使用 SELECT INTO 语句和快速大容量复制。
  相关解决方案