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

Retrive data from other server 1

Status
Not open for further replies.

Adhie

Programmer
Mar 17, 2003
28
0
0
SG
Hi,

I did to retrive data form single server, different db, different table.
But how to retrieve data from different server,differenct db, and different table.

Thanks,
Martin
 
Setup the linked server via Enterprise Manager or sp_addlinkedserver.
Code:
select * from remoteserver.database.owner.table

Denny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top