note 8098 modified in OCIRowCount by ronabop
| From: | ronabop@php.net | Date: | Sun, 27 Aug 2000 11:48:36 +0000 |
| Subject: | note 8098 modified in OCIRowCount by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3485@lists.php.net to get a copy of this message | ||
It appears the easiest workaround if you want to get numrows without moving to the end of the result
set is to use:
numrows = OCIFetchStatement(...);
OCIExecute(...);
So that the execute re-executes the query. It's horribly inefficient to query twice, but it
works.
http://www.php.net/manual/function.ocirowcount.php