创建表newtable 并完全复制数据1.select [列名][列名]... into 表名 from2.create table newtable as select * from oldtable如需要进行数据筛选1.select top 0 [列名][列名]... into 表名 from 表名
2.create table newtable as select * from oldtable where 0=1
本文介绍了如何使用SQL语句创建新表并完全复制数据,包括数据筛选技巧,通过示例展示具体操作。
创建表newtable 并完全复制数据1.select [列名][列名]... into 表名 from2.create table newtable as select * from oldtable如需要进行数据筛选1.select top 0 [列名][列名]... into 表名 from 表名
2.create table newtable as select * from oldtable where 0=1
3万+
1556

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