
last is a method of the SapDB_ResultSet class (sdb.sql module). You can use this method to position the cursor on the last data record in the result set.
last ()
Result
Last data record in the result set
If the result set is empty: None
row = cursor.last ()
Example: Executing an SQL Statement and Navigating in the Result Set