Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-server procedure...
Message
From
20/10/2005 15:42:30
Keith Payne
Technical Marketing Solutions
Florida, United States
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01060773
Message ID:
01060835
Views:
8
>We have two different SQL servers. I need to write a SQL procedure to select a list from a table in server-1 and insert into a table in server-2. Can this be done from within a procedure?

Yes. You can use OPENQUERY, OPENROWSET, or set up the other server as a linked server and include it in the four-part name (Server.Database.Schema.Object).
Previous
Reply
Map
View

Click here to load this message in the networking platform