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 -> vpd nested queries

vpd nested queries

From: Sandeep Chopra <chopras_at_gmail.com>
Date: 13 Oct 2004 11:41:57 -0700
Message-ID: <58b9cdcf.0410131041.6b94a8e8@posting.google.com>


Hi all,

Just wondering whether Oracle's current VPD technology lets policy functions return queries that are appended to the WHERE clause. Thus the net result would be a nested query.

for example, if the query was

select * from employee

could the policy function return

return 'salary >= all (SELECT salary from employee where DeptId = 10)'

thanks Received on Wed Oct 13 2004 - 13:41:57 CDT

Original text of this message

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