DB2 LUW

The third element of SQLERRD in the SQLCA, SQLERRD(3), records the number of rows processed for INSERT, UPDATE, DELETE and SELECT INTO statements. For FETCH statements, it records the cumulative sum of rows processed.

SQLERRD(3)

For DB2, SQLERRD(3) contains the following:

SQLERRD(4)

For DB2, SQLERRD(4) contains the following:

SQLERRD(5)

For DB2, SQLERRD(5) contains the following: