For data enclosed in quotes, trailing blanks are never trimmed on a varchar column. Therefore, a value of 'A' and 'A ' can insert as each values.
But, INSERT statement which inserted these values into a varchar column of a primary key has failed with the duplication error.
Sample Error Message
Tried to insert a duplicate value into a unique index dba.tableA.ASIQ_IDX_T1707_I2_HG on row 2.
-- (slib/s_ohcins.cxx 964)
SQLCODE=-1002003, ODBC 3 State="HY000"
- SAP IQ All version
KBA , BC-SYB-IQ , Sybase IQ , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.