Fascinating!
Still: I used to be a cobol programmer using embedded SQL. Also in cobol you can test the SQLCODE act accordonly. However, SQLCODES 0 and 100 are ANSI standards (and an update throws another non-ansi code if a row is not found) so I always propagated to check first (select count(*)) and based upon the ANSI-value of SQLCODE do an update or an insert. The same can be coded in (PL)SQL(PL) and clean and portable code as a result.
But, like I posted before: this is all history because we have the MERGE verb now
