Insert bulk statement does not support recompile (SQL 2017)

This happened to me once, source and target databases was located on the same server running
14.0.1000.169 Microsoft SQL Server Enterprise (64-bit)
Consecutive executions never fail. I could not reproduce the error until next day.

My workaround has been to simply add "re-try execution" a number of times in SQL Agent job.


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 11.0" Hresult: 0x80004005  Description: "Insert bulk statement does not support recompile.".  End Error

Comments

Popular posts from this blog

SSIS: Set parent package variable from child package

How to decrypt stored password from SSMS registered servers