|
sqlsrv_next_resultMakes the next result of the specified statement active Description
mixed sqlsrv_next_result
( resource
$stmt
)Makes the next result of the specified statement active. Results include result sets, row counts, and output parameters. Parameters
Return Values
Returns Examples
Example #1 sqlsrv_next_result example The following example executes a batch query that inserts into a table and then selects from the table. This produces two results on the statement: one for the rows affected by the INSERT and one for the rows returned by the SELECT. To get to the rows returned by the SELECT, sqlsrv_next_result must be called to move past the first result.
<?php See Also
|