Advances to the next result set in a multiple result set query.
sqlany_get_next_result ( $stmt )
$stmt A statement object executed by sqlany_execute or sqlany_execute_direct.
Returns a scalar value that is 1 on success or 0 on failure.
stmt = api.sqlany_prepare(conn, "call two_results()" ) rc = api.sqlany_execute( stmt ) # Fetch from first result set rc = api.sqlany_fetch_absolute( stmt, 3 ) # Go to next result set rc = api.sqlany_get_next_result( stmt ) # Fetch from second result set rc = api.sqlany_fetch_absolute( stmt, 2 ) |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |