Script task in DFT doesnt get excecuted

后端 未结 2 474
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-23 05:21

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.

相关标签:
2条回答
  • 2021-01-23 05:34

    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..

    0 讨论(0)
  • 2021-01-23 05:37

    @Ciarán - thanks, inseted of select a specific range just opening complete tab solved my problem. "SELECT * FROM [" + p_strTabName + "]"

    0 讨论(0)
提交回复
热议问题