Hello,
I followed directions from one of the links to create multiple excel sheets dynamically to export large data (over 3 million).
I have few variables set, and two of them are ExcelTable, ExcelSheetName. ExcelTable is to create multiple excel sheets, and ExcelSheetName holds the query to create ExcelTable.
I have a Execute SQL Task in which I set a variable User::ExcelTable and in the ExcelTable variable, I have the expression: "CREATE TABLE '" + @[User::ExcelSheetName] + "' ('Line_No' Long, 'Group1' LongText)".
ExcelSheetName has the expression: "Sheet" + (DT_WSTR,12) (@[User::Loop] + 1)+"$"
But the Create Table is failing. Please help.
Thanks,
jkrish