First I am totally green in the SSIS world and I seem to be trying something difficult for the uninitated for my first package...
I have a flat file that I want to take and update columns in a target table. From what I gather I need to use a staging table and I am thinking that table should be a temp table and from what I read, a global temp table.
The control flow would then be a SQL task to create the global temp table, data flow task and lastly a SQL task to update the table and drop the temp table. The Ole DB connection to SQL has it's RetainSameConnection property set to true.
The data flow is where I am stalled. I have my Flat File source connected to an OLE DB Destination, presumably the temp table... The blog I was following suggested to push new and use the same temptable script from the SQL task after having set the ValidateExternalMetadata to false... I receive an error...
"The Table Name Could not be retrieved from the script provided. Select a table or view from the drop-down list box."
Am I doing a step incorrectly or is this a bad approach? Anyway, please put me on track. SQL 2008... I think R2 without double checking.
I have a flat file that I want to take and update columns in a target table. From what I gather I need to use a staging table and I am thinking that table should be a temp table and from what I read, a global temp table.
The control flow would then be a SQL task to create the global temp table, data flow task and lastly a SQL task to update the table and drop the temp table. The Ole DB connection to SQL has it's RetainSameConnection property set to true.
The data flow is where I am stalled. I have my Flat File source connected to an OLE DB Destination, presumably the temp table... The blog I was following suggested to push new and use the same temptable script from the SQL task after having set the ValidateExternalMetadata to false... I receive an error...
"The Table Name Could not be retrieved from the script provided. Select a table or view from the drop-down list box."
Am I doing a step incorrectly or is this a bad approach? Anyway, please put me on track. SQL 2008... I think R2 without double checking.