next is a method of the SapDB_ResultSet class (sdb.sql module). You can use this method to move the cursor to the next data record in the result set.
Syntax
next ()
Next data record in the result set
If the result set is empty or if the end of the result set has been reached: None
Syntax
row = cursor.next ()
The row variable contains the next result record.
Example: Executing an SQL Statement and Reading the Result Set