同一数据库的话是这样
insert into f_class
select * from type如果跨数据库的话,我写成这样为什么出错了?
insert into db1.f_class
select * from db2.type
insert into f_class
select * from type如果跨数据库的话,我写成这样为什么出错了?
insert into db1.f_class
select * from db2.type
insert into db1.dbo.f_class
select * from type
select * from db2..type少了所有者: 数据库.所有者.表名
select * into db1.dbo.f_class from type --生成表
insert into f_class
select * from 从哪个数据库.dbo.type