I have a number of flat files which have one of two formats (soon to be four) and the columns differ slightly.
I have set up 2 different connection managers for the different formats, but I would like to choose the appropriate connection manager for the flat file source at run time.
So far I have a script task which returns the columns and sets a variable depending on which file type it is. I want to use this variable to set the flat file connection manager at run time.
Is this possible? If so how?