Currently I am working on SQL Server 2000,2005 & 2008, my requirement is like,
the database available in SQL Server 2000 & 2005 will be available in 2008 using a linked server.
Let’s say I have a database in SQL Server 2000 called LIVE_2000 and in SQL Server 2005 it’s called LIVE_2005, can someone please help me to create the linked server for LIVE_2000 and LIVE_2005 into SQL Server 2008?
1st thing is this even possible?
Thanks in advance…`
There are a few different ways that you can create a linked server in SQL Server you can use the GUI in SQL Server Management Studio or via a script.
Using the instructions on MSDN you can do the following:
An alternate way would be to use Transact SQL to write the query to set up the server using the stored procedure
sp_addlinkedserverEither version will set up the linked server that you can then reference in your code.