sql-server - 如何将 SQL Server 2005 行导出到 excel?每次我这样做都会出错

标签 sql-server sql-server-2005 ssis export-to-excel

我有 SQL Server 2005,我正在尝试将表格导出到 Excel 文件中。

我右键单击我的数据库并单击“导出”。我通过向导并选择导出到 excel,然后我选择我要导出的一个表并点击完成。

我明白了

Messages

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

  • Error 0xc0209029: Data Flow Task: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "Destination Input" (72)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (72)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure. (SQL Server Import and Export Wizard)

  • Error 0xc0047022: Data Flow Task: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination - SchoolUsers" (61) failed with error code 0xC0209029. The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure. (SQL Server Import and Export Wizard)

  • Error 0xc0047021: Data Flow Task: SSIS Error Code DTS_E_THREADFAILED. Thread "WorkThread0" has exited with error code 0xC0209029. There may be error messages posted before this with more information on why the thread has exited. (SQL Server Import and Export Wizard)

它似乎导出一行然后就死了。我不知道为什么。

最佳答案

根据我的经验,这类问题几乎总是与数据类型转换有关。单击您选择源表的页面上的“编辑映射...”按钮并查看目标列的数据类型。

关于sql-server - 如何将 SQL Server 2005 行导出到 excel?每次我这样做都会出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3703838/

相关文章:

SSIS Kingswaysoft CRM 目标更新错误.. ExecuteMultiple Request batch size exceeds the maximum.. Err -2147220715

.net - 尝试调试 .NET 代码调用的 SQL 存储过程时出现 "The breakpoint will not currently be hit..."错误

sql - 在 SQL Server 2005 中找不到数据类型日期

t-sql - 为什么在 SQL Server 2005 中进行以下设置时使用索引查找而不是扫描

sql-server-2008 - 将自定义 SSIS 任务从 2008 R2 升级到 2012

SSIS 表达式 : convert date to string

sql-server - 在 PowerShell 中通过 SMO 执行 SQL 脚本时出错

mysql - 用于分类应用程序的 Mongodb 与(Mysql 或 Sql Server)

sql - 在 SQL 中按值范围分组

sql-server - 在 SQL Server 2005 中检索以图像形式存储的数据