Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: PHP oracle fetch out sequence !

Re: PHP oracle fetch out sequence !

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 08 Dec 2005 09:26:16 -0800
Message-ID: <1134062774.573885@jetspin.drizzle.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US