将数据从SQL Server数据库导出到Excel

时间:2013-11-28 06:48:40

标签: sql-server excel sql-server-2008 ssis export-to-excel

以下是我尝试将数据从SQL Server 2008数据库导出到Excel 2007文件(xlsx)时收到的错误消息:

Pre-execute (Error) 

        Messages 

        *   Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.
             (SQL Server Import and Export Wizard)

        *   Error 0xc0202025: Data Flow Task 1: Cannot create an OLE DB accessor. Verify that the column metadata is valid.
             (SQL Server Import and Export Wizard)

        *   Error 0xc004701a: Data Flow Task 1: component "Destination - tblAddress" (49) failed the pre-execute phase and returned error code 0xC0202025.
             (SQL Server Import and Export Wizard)

我尝试导出的任何表都会发生这种情况。我没有发现元数据的任何问题。

可能的原因是什么?或者如何解决它?

0 个答案:

没有答案