teg
2010-01-25 13:28:01 UTC
Hi,
Im trying to upgrade an old DTS package that uses the date programitically
to load a table from an AS400 database.
Even though the table name changes (Based on the date), the schema of the
tables are all the same. I used to use Activex scripts to achieve this in DTS
and worked great, but I am struggling to get this working with the new SSIS
object model. Does anybody have any example code for this? Its just the Sql
command text that I need to change.
I am forced to use ADO.net connection object as I cannot get the OLE to
work. Otherwise I would try and use variables.
Thanks
Im trying to upgrade an old DTS package that uses the date programitically
to load a table from an AS400 database.
Even though the table name changes (Based on the date), the schema of the
tables are all the same. I used to use Activex scripts to achieve this in DTS
and worked great, but I am struggling to get this working with the new SSIS
object model. Does anybody have any example code for this? Its just the Sql
command text that I need to change.
I am forced to use ADO.net connection object as I cannot get the OLE to
work. Otherwise I would try and use variables.
Thanks