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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 How to access database of other database
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

83 Posts

Posted - 03/07/2007 :  03:58:37  Show Profile  Reply with Quote
Dear All,

i am making small web application using, C# ,sql2000.

i have two different sqlserver. and two different table.
i want to access or make select query form one server to other .
how can i do it.

that is
i want a about regarding how to access view or table from other server to local server. i have base database where there is a view which need to access in my database of local server.
that is how to make select query to access view in other server.

Please help


In (Som, Ni, Yak)

17689 Posts

Posted - 03/07/2007 :  04:02:08  Show Profile  Reply with Quote
1. you can do it from your application using a separate connection.
2. or connect to one of the server and use linked server to access the other server.

Refer to Books OnLine for details on linked server


Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2019 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000