We require to convert a list of SPs to SSIS packages. Most of the SPs do the below steps:
- create a table and insert data into that using 'SELECT INTO' statement, which has many joins.
- Update the table - this also has many joins.
- Create indexes on the created tables.
What approach should we use here? Since there is no ETL in the SP, we converted each set of statements to one
Execute SQL
task. Is this the right approach?
What we can do to improve the performance of the packages?
There are SPs that call another SP many times with different parameters(The parameters are hard-coded in the SP). Which SSIS task would be suitable here? I tried using
ExecuteSQL task
with RetainSameConnection
true.