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

Home -> Community -> Usenet -> c.d.o.server -> Re: Counter rows in cursor using for loop.

Re: Counter rows in cursor using for loop.

From: John Chiu <johnc_at_relsol.com>
Date: Tue, 05 Oct 1999 06:32:35 -0400
Message-ID: <37F9D3C3.25DA3E40@relsol.com>


Why don't you declare your cursor as select ......... order by ..... desc,
then fetch the first row in the cursor. that's it.

John Chiu
ocp Received on Tue Oct 05 1999 - 05:32:35 CDT

Original text of this message

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