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: Reporting with dynamic sql

Re: Reporting with dynamic sql

From: Deltones <vibroverb_at_hotmail.com>
Date: 16 Aug 2006 11:28:01 -0700
Message-ID: <1155752881.492647.119780@74g2000cwt.googlegroups.com>


-----Stuff snipped for brevity-----

Sybrand Bakker wrote:
> What you need is a REF CURSOR.
>
> Like this
>
> variable cur REF CURSOR
> begin
> open :cur for
> '<your query *without temporary tables* here';
> end;
> /
> print cur
>
> And that is it.
>
> And yes, this is documented.
>
> --
> Sybrand Bakker, Senior Oracle DBA

Sybrand,

You example above put me on the right path. I finally found what I was looking for to format my report the way I want it.

Thanks !

Denis Received on Wed Aug 16 2006 - 13:28:01 CDT

Original text of this message

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