ODBC Driver Does Not Correctly Report Errors In Array Insert (Doc ID 1424296.1)

Last updated on JULY 05, 2017

Applies to:

Oracle ODBC Driver - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

The test code below demonstrates the problem.  After the first insert, the first three error codes should be set to zero as there is no error.  After the second, the first and third row should be zero and the second should indicate an error due to the ORA-00001: unique constraint violated.  The same program gives the expected results when used with Microsoft SQL Server.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms