Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
csecharith
Starting Member
21 Posts |
Posted - 2007-10-21 : 23:58:12
|
Hi I have a database created on SQL Server 2000 server. And I have created a new database with SQL Server2005. I want to extract some data from old SQL Server2000 database. I have written a SP at SQL Server 2000 database and I want to know how to execute a SQL Server2000 SP from SQL Server2005.Thanks & Regards! |
|
Kristen
Test
22859 Posts |
Posted - 2007-10-22 : 03:39:58
|
Make a linked server on SQL2005 box pointing to the SQL2000 box - lets call it "Server2K"Then call SProc thus:EXEC Server2K.databasename.dbo.SProcName ...Or I expect you could use OPENQUERYKristen |
 |
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-10-22 : 22:29:52
|
Or you can move data in ssis package. |
 |
|
|
|
|