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: 20 Feb 2002 01:54:06 -0800
Message-ID: <c8a033bd.0202200154.46685d8a_at_posting.google.com>


No tricks like
> > select * from
> > (
> > select table1.col1 as tc1, table2.col1 as tc2 from table1,table2 where
> > table1.col2=table2.col2
> > ) where permissions_p(tc1,tc2)='Q'
> >
> > In this case, the inner query will be evaluated first and will return all
> > rows where table1.col2=table2.col2.

unfortunately do not work with our setting there: the CBO is smart enough to push down the PL/SQL function :-( Received on Wed Feb 20 2002 - 10:54:06 CET

Original text of this message