Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 querying external server

Author  Topic 

igalbk
Starting Member

9 Posts

Posted - 2011-03-22 : 04:47:35
Hi.
I'm using SQL server 2008.
How can I query external server table or view without adding linked server?
(I have the server name, view user and password)
Thanks.

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2011-03-22 : 04:51:36
Use OPENDATASOURCE function

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

igalbk
Starting Member

9 Posts

Posted - 2011-03-22 : 04:54:25
Thanks!
exactly what I need.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2011-03-22 : 05:41:37
quote:
Originally posted by igalbk

Thanks!
exactly what I need.


You are welcome

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -