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: SQL question: function output appended to WHERE clause

Re: SQL question: function output appended to WHERE clause

From: Bricklen <bricklen-rem_at_yahoo.comz>
Date: Fri, 21 May 2004 20:18:05 GMT
Message-ID: <1utrc.2680$gx1.996@clgrps12>


Sybrand Bakker wrote:

> On 21 May 2004 11:37:00 -0700, sharkdba_at_yahoo.com (Sharkie) wrote:
>

<snip>
>
> You could try CASTing your output to the TABLE type.
> Also dbms_utility has a comma_to_table, and table_to_comma procedure.
>
> Usually using functions in selects, especially if the functions have
> their own selects is a safe recipe for performance problems, as the
> function's SELECT is considered recursive SQL and will *never* get
> merged in the main query
>
> And you don't need temp tables in Oracle.
>
>
> --
> Sybrand Bakker, Senior Oracle DBA

He could also try looking at Tom Kyte's site for "variable in list" or variations thereof Received on Fri May 21 2004 - 15:18:05 CDT

Original text of this message

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