Link to home
Start Free TrialLog in
Avatar of Glen_D
Glen_D

asked on

How do I perform a 'Select Into" on a remote server

I have a remote db within my local studio; configured the linked server...
I can perfrom a select on the remote db by:
select * from [192.xxx.xxx.xxx].testdb.dbo.table

What I would like to do is insert data from a local table into the remote table:

select *
into [192.xxx.xxx.xxx].testdb.dbo.table
from table
Avatar of Glen_D
Glen_D

ASKER

forgot to add but here is my error with abover insert code:

contains more than the maximum number of prefixes. The maximum is 2.
ASKER CERTIFIED SOLUTION
Avatar of Aneesh
Aneesh
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Glen_D

ASKER

Thanks Gentlemen...really helped out here.  Glen