Reputation: 835
Can somebody please help me to transfer around 15 tables from one database to another database. At present I can do this one by one using Data Flow task, but then I need to do this task 15 times which is very time consuming.
Upvotes: 1
Views: 5117
Reputation: 43
For anyone else looking for the answer to this, here's an alternative method: https://www.youtube.com/watch?v=YXeEZsGmJrI
Short version: use the "Transfer SQL Server Objects Task" in SSIS.
Upvotes: 0
Reputation: 11
you can use SSIS package, select Transfer SQL server objects from SSIS toolbox , in Object specify the source and destination servers and database. for copyAllObjects make it false . ObjectToCopy select CopyAllTables true or make it false and pick from the list the table you want to copy.
Upvotes: 1
Reputation: 1555
Why don't you just use a task? Maybe tasks->export
is what you're looking for.
Otherwise you'll need to create separate blocks for each table or:
object
Script Task
: Add to your list all table names.For each
loop containerUpvotes: 1