Call for Oracle support & training (800) 766-1884
Free Oracle Tips

Corporate Oracle Training
Custom Oracle Training
Oracle New Features Training
Advanced Oracle DBA Classes
Oracle Tuning Courses
Oracle Tips & Tricks
Oracle Training Links
Oracle Training Links
Oracle Training Links

We are top for USA Oracle Training Clients


Free Oracle Tips


Free Oracle App Server Tips


Oracle support

Oracle training

Oracle tuning


Remote Oracle

Custom Oracle Training


  Oracle Tips by Burleson

Oracle 10g Steps to Apply a VPD Policy

SQL> select employee_id, last_name, salary, department_id
   2 from   employees
   3 where  employee_id = 117; 

----------- ------------------ ------ -------------

        117 Tobias               2800            30

If manager Raphaely issues the same SQL statement, the query will rewrite as follows, and he will see all employees information returned from his own department 30:

SQL> select employee_id, last_name, salary, department_id
   2 from   employees
   3 where  department_id = 30;

----------- ------------------ ------ -------------
        119 Colmenares           2500            30
        118 Himuro               2600            30
        117 Tobias               2800            30
        116 Baida                2900            30
        115 Khoo                 3100            30
        114 Raphaely            11000            30

The result of applying the VPD policy is row-level access control and row level security (RLS).  Users can only access the specific data determined by the policy function.  The ability to specify relevant columns in VPD policies provides higher data security.  No matter how users access data, they can no longer bypass security checks, since security policy is enforced by the database and not by applications.  Furthermore, security can be built once in the database server, rather than in each application that accesses data.  The Virtual Private Database results in lower total cost of ownership (TCO) in deploying applications.

Get the complete story:

The above text is an excerpt from "Oracle Database 10g New Features: Reference for Advanced Tuning and Administration", by Rampant TechPress.  Written by top Oracle experts, this book has a complete online code deport with ready to use scripts. 

To get the code instantly, click here:

Need an Oracle Mentor?

BEI is now offering personal mentors for Oracle DBAs where you can have an Oracle expert right at your fingertips, anytime day or night. We work with hundreds of Oracle databases every year, so we know exactly how to quickly assist you with any Oracle question.

Why risk an unplanned outage? You can now get telephone access to Don Burleson or any of his Oracle Certified DBAs with more than 20 years of full-time IT experience. Click here for details:


Oracle performance tuning book



Oracle performance tuning software

Oracle performance tuning software
Oracle performance Tuning 10g reference poster
Oracle training in Linux commands
Oracle training Excel


email BC:

Copyright © 1996 -  2014 by Burleson Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.