getRowsAffected is a method of the SapDB_Result class (sdb.sql module). You can use this method to query how many data records (rows) were changed by an SQL statement.
Syntax
getRowsAffected ()
Number of data records that were changed