Using dynamic SQL in an OLE DB source in SSIS 2012

前端 未结 2 1815
天命终不由人
天命终不由人 2021-01-13 08:50

I have a stored proc as the SQL command text, which is getting passed a parameter that contains a table name. The proc then returns data from that table. I cannot call the t

2条回答
  •  我在风中等你
    2021-01-13 09:40

    I've used CozyRoc Dynamic DataFlow Plus to achieve this.

    Using configuration tables to build the SQL Select statements, I have a single SSIS package that loads data from Oracle and Sybase (or any OLEDB source) to MS SQL. Some of the result sets are in the millions of rows and performance is excellent.

    Instead of writing a new package every time a new table is needed, this can be configured in minutes and run on a the pre-tested and robust existing package.

    Without it I would have been up for writing hundreds of packages.

提交回复
热议问题