Problem with OCIFETCHSTATEMENT function...
| From: | Sergio | Date: | Tue, 06 Mar 2001 12:10:27 +0000 |
| Subject: | Problem with OCIFETCHSTATEMENT function... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7133@lists.php.net to get a copy of this message | ||
Hi all:
I have a problem with the php function "ocifetchstatement($stmt,$table)"
where $stmt comes from:
$stmt=ociparse($conn,$query);
ociexecute($stmt);
The problem is that I can't call to this function twice or more times
with the same $stmt. It appear the following message:
Warning: OCIFetchStatement: ORA-01002: fetch out of sequence in ....
I would like to know some way to rewind $stmt in order to get a cursor
pointing to the beginning of the query or something else to solve this
problem.
Sergio