Rows-Processed Count
The number of rows processed by the most recently executed SQL statement is
returned in the SQLCA variable sqlca.sqlerrd[2], which you can check
explicitly.
Strictly speaking, this variable is not for error reporting, but it can help you avoid
mistakes. For example, suppose you expect to delete about ten rows from a table.
After the deletion, you check sqlca.sqlerrd[2] and find that 75 rows were
processed. To be safe, you might want to roll back the deletion and examine your
WHERE-clause search condition.
returned in the SQLCA variable sqlca.sqlerrd[2], which you can check
explicitly.
Strictly speaking, this variable is not for error reporting, but it can help you avoid
mistakes. For example, suppose you expect to delete about ten rows from a table.
After the deletion, you check sqlca.sqlerrd[2] and find that 75 rows were
processed. To be safe, you might want to roll back the deletion and examine your
WHERE-clause search condition.
결론은 sqlca.sqlerrd[2]
쩝… Pro C 책을 한권 사던지 해야지 이런 간단한 내용 찾는데 어버버버 하면서 시간을 너무 낭비하는군.
책사도 어버버버 하면서 구글을 뒤지는 모습이 선하구나
이놈 점점 병특스러워 지는군! 문서화 잘 해라. 다 독이 되고 산이 된다.
-_-;