Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to iterate databases for a data flow task

$
0
0

Hi,

I have created a 'Execute SQL Task' which retrieves all the database names and Id's from a SQL Server. I am looping using a Foreach loop container. I am able to print all those database names and id's using a 'Script Task'.

But, I want to create a Data flow task in a Foreach loop container, which iterates through all the databases and do the job. This data flow task will contain a OLE DB Source which is used to retrieve data from specific tables in all the databases.

All the databases are of the same structure.

Can anyone help me how to acheive the above functionality?


Viewing all articles
Browse latest Browse all 24688

Trending Articles