SQL复制表

如果新表不存在
select * into newtable from oldtable
如果存在
insert into newtable select * from oldtable ---表结构一致
insert into newtable(列名1,列名2,.....) select 列名1,列名2....from oldtable --表结构不一致
原文地址:https://www.cnblogs.com/CandiceW/p/4212640.html