Symptom
When attempting to delete records from the table 'DEPT' in SAP IQ, the operation fails.
(dba)> delete from DEPT
Could not execute statement.
Cannot delete/truncate CK dba.DEPT.ASIQ_IDX_T1723_I4_HG because of RI violation - FK has non-nulls.
-- (slib/s_ohcidx.cxx 3803)
SQLCODE=-1009150, ODBC 3 State="HY000"
Read more...
Environment
- SAP IQ 16.x
Product
SAP IQ 16.0 ; SAP IQ 16.1
Keywords
Sybase IQ, delete records, referential integrity, foreign key, non-null values, , KBA , BC-SYB-IQ , Sybase IQ , How To
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