I'm having a problem with my dynamic table name in ADO.NET Destination. The control flow is:
- SQL Query that bring me all the tables I need from an OLE DB connection.
- Foreach loop that iterates those tables.
- Inside the loop I have data flow that move all the data from the OLE DB to ADO.NET connection.
In the data flow properties I have declared the ADO NET Destination TableOrViewName expression to match the table I need on every iterate.
It works for the first iterate but for the second it fails because the destination table is not "updated" it still looking for the previous table's columns.
Any suggestions? I have already debugged it and the second iterate table name is correct.