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: Problem: Like-Statement and NULL-Fields

Re: Problem: Like-Statement and NULL-Fields

From: <ctcgag_at_hotmail.com>
Date: 24 Oct 2002 00:46:07 GMT
Message-ID: <20021023204607.232$Pc@newsreader.com>


Karsten Farrell <kfarrell_at_medimpact.com> wrote:
>
> Since you can't change the SQL directly, maybe you can do it "through
> the backdoor". Take a look at Virtual Private Databases (used to be
> called Fine-Grained Access Control, which earlier was called Row Level
> Security - hence the package you use is DBMS_RLS). The documentation
> didn't always keep up with these name changes, so it might be a little
> confusing at times knowing what they're talking about.
>
> Basically, a VPD allows you to dynamically change the WHERE clause any
> time anyone selects from the Users table. So you can add your NULL check
> as a VPD feature.

Does VPD allow you make the where clause less restrictive rather than more? I thought you could only (in effect) wrap the old where clause in parentheses and add 'AND new_expression' to the end.

Xho

-- 
-------------------- http://NewsReader.Com/ --------------------
                    Usenet Newsgroup Service
Received on Wed Oct 23 2002 - 19:46:07 CDT

Original text of this message

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