SQLServer 基础操作
1、根据旧表创建新表(只有表结构)
select * into newTable from oldTable where 1<>1
根据旧表创建新表(表结构+表数据)
select * into newTable from oldTable
2、增加字段(列)
alter table tableName add columnName int null
删除字段(列)
alter table tableName drop column columnName

浙公网安备 33010602011771号