Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PHP oracle fetch out sequence !
Manu wrote:
> hello,
> i encounter a problem.
> i do a SQL request, next i fetch all my records (do my code) but after my
> first fetch out i need to restart this fetch. How do ?
> like this :
> while ( $mr = oci_fetch_assoc ($cursor ) ) {
> //my first code
> }
> //seach a solution like :
> //$cursor->rewind();
> //$cursor->seek(0);
> //$cursor->fetch(0);
> while ( $mr = oci_fetch_assoc ($cursor ) ) {
> //my second code
> }
> must create a sequence ?
>
>
> thx for experiences.
>
> manu
Oracle version number?
What do you mean by "restart this fetch"?
From a business perspective: What is it you are trying to accomplish.
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Thu Dec 08 2005 - 11:26:16 CST
![]() |
![]() |