• 从Excel导数据到SQLSERVER时系统报列不允许有 Null 值,INSERT 失败错误
  • 发布于 2个月前
  • 539 热度
    1 评论
  • 冯铿
  • 3 粉丝 42 篇博客
  •   

我从Excel导入数据到SQLSERVER时系统报如下错误:

- Copying to [dbo].[WF00080_Project] (Error)
Messages
Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "语句已终止。".
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "不能将值 NULL 插入列 'IsDeleted',表 'Com.Kion.CN.WorkflowApps.dbo.WF00080_Project';列不允许有 Null 值。INSERT 失败。".
 (SQL Server Import and Export Wizard)
 
Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "Destination Input" (51)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (51)" 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 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Destination - WF00080_Project" (38) failed with error code 0xC0209029 while processing input "Destination Input" (51). 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)
 

用户评论
  • Anna
  • 系统已经提示了:Description: "不能将值 NULL 插入列 'IsDeleted' 。你检查下你的Excel检查一下是否有IsDeleted列,如果没有请添加,如果有,请检查一下是否有空值的地方
  • 2018/3/28 16:33:00 [ 0 ] [ 0 ] 回复