Hi,
I am using an SSIS package to draw data from a DB2 database via an ODBC connection.
There are 8 source files/tables that have identical columns and datatypes.
Using a 'Union All' transformation I am able to join all the data together into one table.
The problem I have is that occasionally one or more of the source tables may no longer exist, and at a later stage may then exist again.
I essentially need the package to still succeed with the remaining tables without needing my intervention to remove the datareader source for the non-existent table.
One solution I had in mind is to use script components to check if each table exists before attempting to draw data from it. I have done this previously but only with local tables on SQL Server and not DB2 tables on an external server.
Any ideas on how to approach the problem will be greatly appreciated.
↧