Hi all,
I am trying to get the data from 2 tables which are in 2 different servers , to get that i have used
"sp_addlinkedse rver" .Using this I am able to connect to the server also .I have used the following commands
for example my server ip is 11.12.23.121
EXEC sp_addlinkedser ver '11.12.23.121'
EXEC sp_addlinkedsrv login @rmtsrvname = '11.12.23.121'
after this I am not bale to get the results of the linked server using following query
select * from '11.12.23.121'. testdb.dbo.user reg
Please tell me how to get the data from the linked server.
Thanks in advance
I am trying to get the data from 2 tables which are in 2 different servers , to get that i have used
"sp_addlinkedse rver" .Using this I am able to connect to the server also .I have used the following commands
for example my server ip is 11.12.23.121
EXEC sp_addlinkedser ver '11.12.23.121'
EXEC sp_addlinkedsrv login @rmtsrvname = '11.12.23.121'
after this I am not bale to get the results of the linked server using following query
select * from '11.12.23.121'. testdb.dbo.user reg
Please tell me how to get the data from the linked server.
Thanks in advance
Comment