DbSl: SQL errors erroneously translated to ‘duplicate key’
[duplicate key] [duplicate key name] [INSERT_MDSBI_IN_MDSB] [LM61UF1T] [MD02] [MD50] [SAPLM61U] [SAPSQL_ARRAY_INSERT_DUPREC] [SINGLE] [sql cd key] [sql2000 key] [SUBSELECT] [UPTO]
Symptom
Problems with the odbc based DbSl:
(1)
On attempts to write NULL values to NOT NULL columns without default erroneously a duplicate key error is returned.
Correct would be a DB error with SQL error code 515 and message “Cannot insert the value NULL into column ‘…’, table ‘…’; column does not allow nulls.”
(2)
OpenSQL selects with up [...]