简体   繁体   中英

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

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 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM