假如A表存在,
则 insert into A(a,b,c) (select a,b,c from B)
假如A表不存在,
select a,b,c into A from B
假如需要跨数据库库
insert into ADB.[dbo].A(a,b,c) (select a,b,c from BDB.[dbo].B)
转载于:https://www.cnblogs.com/gsk99/archive/2011/08/17/2143544.html
假如A表存在,
则 insert into A(a,b,c) (select a,b,c from B)
假如A表不存在,
select a,b,c into A from B
假如需要跨数据库库
insert into ADB.[dbo].A(a,b,c) (select a,b,c from BDB.[dbo].B)
转载于:https://www.cnblogs.com/gsk99/archive/2011/08/17/2143544.html