If your statement is INSERTstructured like INSERT ... VALUES, it either successfully inserts exactly one row or throws an exception. No need to check SQL%ROWCOUNT.
If your statement is INSERTstructured as INSERT ... SELECT, it is possible that the statement SELECTwill return 0 rows, the operator INSERTinserts 0 rows, and no exception will be thrown. If you think this is a mistake, you will need to check SQL%ROWCOUNTafter following the instructions INSERT.
source
share