SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

imranabdulaziz
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 asp.net, 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


thanks

khtan
In (Som, Ni, Yak)

Singapore
17601 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


KH

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