php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8399 Only the first results sets can be retrieved
Submitted: 2000-12-24 03:34 UTC Modified: 2001-01-04 12:43 UTC
From: steeven at kali dot com dot cn Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.4 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
12 - 3 = ?
Subscribe to this entry?

 
 [2000-12-24 03:34 UTC] steeven at kali dot com dot cn
Only the first results set can be retrieved.
This greatly limit the use of cursor.

mssql_fetch_object($result,$set)  //$set may help.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-04 12:43 UTC] fmk@php.net
mssql_query can be used to execute miltible SQL statements but only one record set will be returned.

You can split multible statements into separete calls to mssql_query and get a result for each statement.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 00:01:30 2024 UTC