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

Home -> Community -> Mailing Lists -> Oracle-L -> Rowcount for an Ref Cursor

Rowcount for an Ref Cursor

From: Layzee DBA <layzeedba2_at_yahoo.com>
Date: Wed, 30 Apr 2003 16:21:36 -0800
Message-ID: <F001.0058D1CF.20030430162136@fatcity.com>


Hi List

I am opening a REF CURSOR as follows:
OPEN mycursor FOR
SELECT blah , blah
WHERE blah=bhah;

How to get the rowcount.
SQL%ROWCOUNT , mycursor%ROWCOUNT donot give errors but return null. I donot want to open a loop, fall into the loop and keep counting.

Any ideas?

TIA



Not So Lazy DBA

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Layzee DBA
  INET: layzeedba2_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Apr 30 2003 - 19:21:36 CDT

Original text of this message

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