sqlca.sqlerrd[2] is 0 for failed insert array operation

From: semkin <semkin55_at_gmail.com>
Date: Mon, 11 Aug 2008 09:36:12 -0700 (PDT)
Message-ID: <757afb46-81e2-4b49-ada2-85ba6d47538e@p25g2000hsf.googlegroups.com>

I use embedded SQL in C++ for Oracle and use Insert with arrays. In case of error in data in array I always have 0 in sqlca.sqlerrd[2], even when error is not in data with index 0 (C++ index). I expected Oracle will insert rows before erroneous row and that sqlca.sqlerrd[2] will have number of rows without error. Am I wrong ? Received on Mon Aug 11 2008 - 11:36:12 CDT

Original text of this message