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

来源:互联网 发布:混乱武林独孤求败软件 编辑:程序博客网 时间:2024/05/17 15:40

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 语句和快速大容量复制。
原创粉丝点击