db_resultrows
Returns the number of rows affected by the last DML command.
Source code:
global ad_conn return [ns_ora resultrows $ad_conn(db,last_used)]