sqlserver 两张表数据导入

对于sql server 来说

如果是新的表,那么这样做

select * into newtable from ta;

如果是已有的表
insert into newtable select * from ta;

如果是oracle
如果是新的表,那么这样做

create table newtable select * from ta;

如果是已有的表
insert into newtable select * from ta;

猜你喜欢

转载自www.cnblogs.com/objectnull/p/9402102.html