Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 527
  • Last Modified:

Best way to join tables on different servers?

hi what is the best way to join a table from on sql server to another.  Prefixing it with server and database is very slow.  I beleive open rowset is best way but is there any other and what is the syntax?
0
hendy1967
Asked:
hendy1967
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
no other, from what I know...

and if it's slow, it will eventually depend on the join syntax you are doing...
there is no single magic solution to all situations.

you might consider:
* changing the query
* replicating the remote table(s) to the local db
* locate the query/job on the other database
* ...
0
 
subhashpuniaCommented:
Test after loading the remote server's table at local in temp tables and then use the temp tables in joins.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now