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