November 4, 2008 at 4:11 am
Hi Experts, If anyone knows how to retrieve data from 2 servers with a single query, please help.
I am trying to pull data from the below servers.
1). Server: 10.10.30.215, DB: FY09_PING
2). Server: 10.10.30.223, DB: FY09_PINGOTP
November 4, 2008 at 4:40 am
you can user linked server funcationality in which you will need to link server 2 under server 1
November 4, 2008 at 4:40 am
Have a look at linked servers in Books Online.
Once you've setup a linked server you can join the two tables, by using fully qualified names.
e.g. select * from some_server.database_name.dbo.table_name
November 4, 2008 at 10:30 pm
Hi SQLZ, Could you help me to share the link for "linked servers"
November 4, 2008 at 10:49 pm
November 4, 2008 at 11:12 pm
Thanks Sanjay
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply