August 1999
Intermediate to advanced
1488 pages
72h 53m
English
resultset.next()
The next() method of the Resultset object moves the point in the current row to the next row in the result set. This method is used to iterate through each of the rows returned by the result set. This method returns true, unless it is the last row of the result set, at which time it returns false.
Listing 8.115 creates an instance of the Resultset object and iterates through its results. This is performed by using the next() method.
<SERVER> // Run the stored procedure var myStproc = myConn.storedProc("sp_employees"); // Store the result set var myResultSet = myStproc.resultSet(); // Iterate ... |
Read now
Unlock full access