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.
getRowsAffected ()
Result
Number of data records that were changed