Null value is eliminated by an aggregate or other SET operation and returned error code 0xC0202009

 

[OE  Source [791]] Error: 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: 0x00040EDA  Description: "Warning: Null value is eliminated by an aggregate or other SET operation.".
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "OE  Source" (791) returned error code 0xC0202009.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.

SOLUTION:解决方法是在query之前加SET ANSI_WARNINGS OFF,为什么这么做,问微软咯

 

你可能感兴趣的:(sql,server,Microsoft,null,query,SSIS,Warnings)