May 4, 2008 at 12:25 pm
Hi folks,
I have two servers
ServerA,
ServerB
Now I want to run the query like this from serverB
select * from ServerA.master.dbo.sysdatabases
But It gives error.....Can anyone help me with this....
Thanks in Advance
May 4, 2008 at 2:19 pm
Have you build a link server between ServerA and ServerB? If not, you could not query the other server.
May 4, 2008 at 2:21 pm
If you don't have linked server, you can still query the other server but you need to use OPENROWSET or OPENDATASOURCE.
May 4, 2008 at 9:50 pm
And, why do you think this is very very "urgent"?... It's been 9 hours since you've posted and 7 hours since the first response... yet, you've not replied to that post. I'm thinking... not so urgent. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2008 at 9:19 am
Can you post the error message?
Q
Please take a number. Now serving emergency 1,203,894
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply