Symptom
- Archiving from a source system to Sybase IQ fails when processing date columns; the same date inserted into a simple local table does not fail.
- Running a SELECT on the affected table in the target database returns: "Date is invalid (111) -- (dflib/dfe_SACast.cxx 361) SQLCODE=-1006168, ODBC 3 State='HY000'."
- Some rows contain date values outside the supported range '0001-01-01' to '9999-12-31'.
- Selecting rows with predicates that isolate invalid dates can also raise the same error.
Read more...
Environment
SAP IQ16.1 SP05 PL14
Product
SAP IQ 16.1 ; SAP IQ 16.2
Keywords
date is invalid (111), -1006168, HY000, dflib/dfe_SACast.cxx 361, empty temporal, 0000-00-00, out-of-range date, invalid date, load table error, select fails, iq 16.1 sp05, simulate_es, repair invalid dates, nls archiving, sybase iq dates, 831884,CR 831884, CR#831884 , KBA , BC-SYB-IQ , Sybase IQ , BW-SYS-DB-IQ , BW on HANA with Sybase IQ Near-line Storage , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview