Some of my source columns has a square bracket (Due to CSV import) e.g. TableID1.[column].
When I try to perform transformation for those columns in SSIS (using Derived Column component), I am receiving the below error:
Error at DFT [Derived Column 1 [478]]: Attempt to parse the expression "[TableID1.[Column1]]" failed. The token "[" at line number "0", character number "0" was not recognized. The expression cannot be parsed because it contains invalid elements at the location specified.
Which I believe is complaining about the Square bracket ("[") that comes as a part of column name. I believe it is interfering with its (Derived Columns') native Regex processing which also uses "[ ]"
How can I escape these square brackets in SSIS ?
P.S. I understand changing the source column name using an alias is an option. But it is not efficient in my case where I am dealing with 50+ columns with similar format.