Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Re: Row level security and latch waits
> - Use context values within predicates, as bind variables <<<< NOTE THIS
> LINE.>>>>>
None of that implies it's not appending a where clause like it
was explained.
It uses the context values (if that's the case) in a function
which then returns a string. That string is then appended
as a predicate to the original statement. That means the
original statement is then re-parsed. It's the reason why
you need query-rewrite enabled in FGAC.
So, you get a lot of parsing.
I don't know of any way of passing a context value as a true bind variable in a return string which is appended as a predicate. It certainly is not explained anywhere in the manual how to do it and I couldn't find anything in the literature and asktom either.
Appreciate if anyone can explain how.
A dynamically generated string is not the same as a bind variable.
Cheers
Nuno Souto
nsouto_at_optusnet.com.au
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Nuno Souto INET: nsouto_at_optusnet.com.au Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Aug 20 2003 - 06:14:26 CDT