1.复制数据表。原样复制。 select * into new_tb from old_tb
2012版本
select * into [pccw].[dbo].[tb_pccw20130911] from [pccw].[dbo].[tb_pccw20130905]
select * into new_tb from old_tb where 1<>1
复制表结构
删除表中所有的数据记录:delete from table1
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3