use master
go
sp_dboption DBname,'select into',true //设置'select into' 允许拷贝
go
Alter table table_name drop column_name;
go
sp_dboption DBname,'select into',true //设置'select into' 允许拷贝
go
Alter table table_name drop column_name;
本文介绍如何使用SQL命令来更改数据库选项以允许'SELECT INTO'拷贝操作,并演示了如何删除指定表中的某一列。
2317

被折叠的 条评论
为什么被折叠?