Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Script Library
 Reading databases across servers in MSSQL 2005
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 11/18/2010 :  15:21:20  Show Profile  Reply with Quote
Say I have two servers(environments) and two databases on the each servers respectively:
Server1 - Development_DB
Server2 - Testing_DB

I'm i able to read the tables of both databases in the same script?

Almighty SQL Goddess

38200 Posts

Posted - 11/18/2010 :  15:24:20  Show Profile  Visit tkizer's Homepage  Reply with Quote
You can do that via linked server or openquery. Do some searching on those for examples/how to setup.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000