Moves the specified statement to the next result set object and returns whether there is a next result set object.
Syntax
getMoreResults( statement )
statement.getMoreResults( )
Parameters
statement
|
the statement object to use.
|
Returns
boolean
|
true if there are more result set objects.
false if there are no more result set objects or if it is an update count.
|
Example
if stmt.getMoreResults( ) then
break
end
|