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: PL/SQL returning a cursor to ODBC

Re: PL/SQL returning a cursor to ODBC

From: Matthias Gresz <GreMa_at_t-online.de>
Date: 1997/11/28
Message-ID: <65lrdk$7d9$1@news00.btx.dtag.de>#1/1

Richard Katz wrote:
>
> How do I send a cursor back to the CLI (ODBC) from a PL/SQL stored
> procedure?
>
> I've tried declaring and openning a cursor. This doesn't seem to
> do anything. I'm guessing that there is some DBMS or UTL function
> that does this. Is there any documentation on how this is done?
>
> Many thanks,
>
> Richard Katz

Hi Richard,

select
> a.table_name, a.number_rows
> from
> (select
> count(*) number_rows, table_name
> from
> user_tables
> group by
> table_name
> ) a
> where
> a.number_rows > 0
> ; ?
>
 

-- 
Regards

Matthias Gresz    :-)
Received on Fri Nov 28 1997 - 00:00:00 CST

Original text of this message

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