insert into localtablename
select * from linkedserv.dbname.ownername.tablename
where linkedserv is the linked server name and dbname is the database name (as in the case of MS SQL server) or can be null as follows:
insert into localtablename
select * from linkedserv..ownername.tablename
as the case in an oracle or DB2 db.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.