Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using a view on a different server

Status
Not open for further replies.

SS14

Programmer
Joined
Sep 26, 2001
Messages
1
Location
US
I created a view on ServerA but I would like to use it on ServerB how can I do this. Do I need to link servers?

thanks
ss14
 
You can access the view on a linked server. In SQL 2000, you can also use OpenRowSet to select from a view on another server even if not linked. Check for details in SQL BOL or at MSDN.

Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
OpenRowSet also works with SQL Server 7.0, as far as I remember :-) --
lardmonster - an occasional visitor
mkflint@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top