Hi I have created a ssis package which loads source to target table and for each table I have to create a data flow, duplicate, rinse and repeat. It’ll take quite a bit of time to do 1000 tables and I was wondering if there was a faster way to created these data flows?
Automating SSIS package creation is embarrassingly easy with Biml (Business Intelligence Markup Language).
BimlScript is a free, community oriented patterns and learning site. It has an excellent learning tutorial on the matter
The final bit of advice I'd offer is: do not make 1 package with 1000+ data flows in it. Every time you go to open the package, run it, etc, you will spend a long time validating the metadata of each and every source and sink.
Instead, create a package per entity to transfer (worker) and then create an Orchestrator package that runs the workers. The orchestrator can be as simple as hard coding every package in serial or something more interesting like a table of packages to be run, when they were last run and dynamically invokes them based on expected run time with N workers running in parallel.