I have a SSIS 2005 package that needs to read from an XML file, parse into columns and load into a SQL table. I have the parsing working ok. My problem is that I won’t know the table name until runtime. The tables are named transaction_x where x is held in a package level variable. Is there any way I can set the destination table name programmatically?
Thanks
Rob.
As AjAdams mentioned, you would want to store the table name in a variable. When you open up the gui of the ole db destination, you can then click on the data access mode drop down and select “Table name or view Name variable”. You would then select your variable name that contains the table name from the variable name drop down. This should solve your problem.