我使用SSIS将数据插入Excel.
我得到以下异常:
'[Excel Destination [32]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft Office Access Database Engine" Hresult: 0x80004005 Description: "Spreadsheet is full.".'
Run Code Online (Sandbox Code Playgroud)
我使用以下链接做了一些研究:
http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx
它声明您可以填充最大值 1,048,576 rows by 16,384 columns
我导入Excel的数据只是关于 100,000 rows by 5 columns
为什么我得到这个例外?
仅供参考以下是我的Data Flow Task:
ODBC Source要Data Conversion改造Excel Destination
最好的解决方法是使用a Flat File Destination然后Flat File直接从Excel 导入.事实证明,使用SSIS导入Excel非常慢,效果要好得多.这项工作几乎是瞬间导入我的数据,而不是等待半个小时.
| 归档时间: |
|
| 查看次数: |
8062 次 |
| 最近记录: |