msphpsql icon indicating copy to clipboard operation
msphpsql copied to clipboard

nextrowset() method

Open v-mabarw opened this issue 12 years ago • 2 comments

Stored procedures can return multiple rowset. How to jump to next rowset? We need nextrowset() method.

Stored procedure example:

CREATE PROC test
AS
SELECT 'red' AS color
SELECT 'audi' AS model

Work Item Details

Original CodePlex Issue: Issue 15255 Status: Closed Reason Closed: Unassigned Assigned to: Unassigned Reported on: Dec 8, 2009 at 9:06 PM Reported by: bugzilla33 Updated on: Jul 13, 2010 at 8:37 PM Updated by: icosahedron Closed on: Jul 13, 2010 at 8:37 PM

v-mabarw avatar Jul 29 '14 22:07 v-mabarw

On 2010-04-21 21:32:13 UTC, robertjohnson commented:

sqlsrv_next_result() is the function you are looking for. It already exists.

v-mabarw avatar Jul 29 '14 22:07 v-mabarw

On 2010-07-14 03:37:09 UTC, icosahedron commented:

Yes, Mr. Johnson is correct. Please use sqlsrv_next_result.

v-mabarw avatar Jul 29 '14 22:07 v-mabarw