November 21, 2006 at 6:19 am
When you create a excel source component in your data flow, you have to specify a connection manager for it (SSIS designer suggests to create one). When you create one here, the connection manager points to a specific excel file per default. Choose an excel file here that has the structure you need. After that, go to the properties of the created connection manager, choose the property "Expressions" and create a new expression where you override the connection string property with an expression where you use a variable that will hold the excel file (complete path) at runtime.
At runtime, SSIS will override the connection string property of the connection manager with the value of the specified variable and the excel source component will use it.
November 21, 2006 at 11:04 pm
Hi,
You can use ovrride the connection string property of the XLS Connection Manager so that it's taken at the run time.
THanks,
S Suresh
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply