I have a scenario where I have to get data from unknown no of excel file and their unknown no of tabs. So I created a table with 50 columns.
Do you really need to read A1:AX1048576 ? Does it handle this and only read what it needs to?
Can you try to read only the parts of the excel file you need? For example if you have an excel file with 10 columns and 400 lines, try to read A1:Z9999 - wondering if the script task just gets boggled up trying to fit all this into memory, then trashing to disk since the resultset is pretty immense..
@Ciarán - thanks, inseted of select a specific range just opening complete tab solved my problem. "SELECT * FROM [" + p_strTabName + "]"