Advertisement

02.08.2003 at 06:39AM PST, ID: 20505631
[x]
Attachment Details

Running query that accesses two SQL Servers

Asked by diggity in MS SQL Server

I have a query that works when executed on the currently connected server, but am I able to specify that I want the INSERT statements (of the query) to pertain to another server/db? In other words I want the SELECT statements to pull from DEVELOPMENT (server) and I want the INSERT statements to put to PRODUCTION (server).

Thanks in advance for any and all advice!Start Free Trial
[+][-]02.08.2003 at 10:42AM PST, ID: 7909468

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.08.2003 at 02:43PM PST, ID: 7910330

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Sign Up Now!
Solution Provided By: dhunter65
Participating Experts: 2
Solution Grade: A
 
 
[+][-]02.10.2003 at 06:16AM PST, ID: 7917646

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32