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: PL/SQL functions in SQL where clauses - how to evaluate them as a late as possible

Re: PL/SQL functions in SQL where clauses - how to evaluate them as a late as possible

From: Dirk Gomez <usenet_at_dirkgomez.de>
Date: 21 Feb 2002 08:26:28 +0100
Message-ID: <m3zo23i9cr.fsf@colorado.arsdigita.de>


<finely-grained permissioning with exepensive PL/SQL function evaluated in a SQL statement's where clause >
> 1. Native dynamic SQL

What would that help?

> 2. Get rid of the = 't' and replace it with a bind variable

What would the the bind variable help here? I always and only want the ones that get evaluated for true? Or would I be able to "fool" the optimizer here, so that it evaluates later? Received on Thu Feb 21 2002 - 01:26:28 CST

Original text of this message

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