开发者

Linking SQL Server 2000 and SQL Server 2008, is this possible?

开发者 https://www.devze.com 2023-01-03 21:26 出处:网络
I am writing stored procs for a new system in SQL Server 2008 but I need to also update data in an older db - SQL Server 2000.I have searched but haven\'t found any solution to this.Is it possible?Wha

I am writing stored procs for a new system in SQL Server 2008 but I need to also update data in an older db - SQL Server 2000. I have searched but haven't found any solution to this. Is it possible? What are my choices?

Thank 开发者_Python百科you!!


If you mean connect to and query against a SQL Server 2000 database, then yes, this is possible through the use of linked servers assuming that the two database servers are able to communicate with each other on the same network.

See Linked Servers for more.


This has been asked and answered in another thread, but here's a great link to get you on your way:

http://msdn.microsoft.com/en-us/library/ms188279.aspx

The concept you're looking for is called a "linked server", which allows SQL Server to send SQL commands to a remote server.

0

精彩评论

暂无评论...
验证码 换一张
取 消