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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I code a view using a table on another server 1

Status
Not open for further replies.

TommyTea

Programmer
Nov 7, 2002
43
US
I need to create a view in my database that uses a table in another database and on a different server.
 
Look up "linked servers" in BOL. After setting one up, just qualify the table names like this:

Code:
SELECT * FROM server.database.owner.table

--James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top