Jump to content

[SOLVED] Subquery across servers


wsantos

Recommended Posts

Precondition: Two databases on separate servers

                  There is no way that this two databases be merged nor put on the same box ever.

 

Question: I am to make a query that requires few data from one db and a few from the other one. How do I tackle this.

 

Approach 1: I tried a query from one server and use the uniqueid as a parameter for a loop query on the other.

 

Result: Performance Hit

          Web Browser Timeout

 

Approach 2: I tried a Left outer join across server.

 

Result: Cross server join is not impossible...as I was told

 

 

Link to comment
Share on other sites

Sorry got tied up...I tried the federated table it worked when I need to get data from one server. But the problem came when I tried it with two separate server aside from my local machine. Thanks

Not sure what you mean, can't you just use two separate federated tables?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.