How to Copy Objects with SQL 2005 SSIS

Last Post 29 Nov 2007 02:10 PM by SQLUSA. 2 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
oceanhai
New Member
New Member

--
15 Mar 2006 07:27 AM
The problem is this: In SQL 2000 DTS there was an option for "Copy Objects and Data Between SQL Servers". However, this option has been removed in SQL 2005 SSIS. Apparently the only way to do this in SQL 2005 is to create a .DTSX package in SQL Server Business Intelligence Developement Studio or VS 2005. You do this by creating a new Integration Service Project and using the Transfer SQL Objects Task. Within the properties of this task you can select any of the options that were available in the SQL 2000 DTS export wizard. I have set up a test package that will copy a stored procedure from one db to another but I am unable to get it to work. It runs fine but the result is that the SP is not copied.

I am new to Visual Studio and I think I probably just need help in know ing how to run a package in SQL Server Management Studio. I was able to import the package into SSIS in the Management Studio and run it without errors not with the expected result (the copy of an SP from one db to another). I'm sure there are people besides me who would like to have the ability to easily perform ad hoc copies of objects between SQL servers. If anyone has any experience with using a SSIS package to do this please help. Thanks!
oceanhai
New Member
New Member

--
15 Mar 2006 09:21 AM
Thanks for your reply. You can also save it as a file and then import it using SSMS, which is what I did but it still is not working.
SQLUSA
New Member
New Member

--
29 Nov 2007 02:10 PM
Did you get it working?


Acceptable Use Policy
---