Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Oracle Advanced PL/SQL Developer Professional Guide

You're reading from  Oracle Advanced PL/SQL Developer Professional Guide

Product type Book
Published in May 2012
Publisher Packt
ISBN-13 9781849687225
Pages 440 pages
Edition 1st Edition
Languages
Author (1):
Saurabh K. Gupta Saurabh K. Gupta
Profile icon Saurabh K. Gupta

Table of Contents (22) Chapters

Oracle Advanced PL/SQL Developer Professional Guide
Credits
Foreword
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Overview of PL/SQL Programming Concepts Designing PL/SQL Code Using Collections Using Advanced Interface Methods Implementing VPD with Fine Grained Access Control Working with Large Objects Using SecureFile LOBs Compiling and Tuning to Improve Performance Caching to Improve Performance Analyzing PL/SQL Code Profiling and Tracing PL/SQL Code Safeguarding PL/SQL Code against SQL Injection Attacks Answers to Practice Questions Index

VPD implementation—outline and components


The development steps of VPD implementation is demonstrated in the flowchart as follows:

  • Creation of an application context: The application context is a collection of variables whose values, once set, remain the same and are available in the same session. The variables are known as attributes. Each session accessing the same application context attributes can have different values.

  • Create the context key and value: Create the trusted program to set the context using DBMS_SESSION.SET_CONTEXT. During the creation of the context, Oracle does not verify the existence of the program being specified. It relies on the trust of the user to create and use a program with the same name to set the context attributes. Therefore, the program is referred to as trusted.

  • Set the context key explicitly or through a Logon trigger: The context must be set for the whole session or just before each call. System-level Logon triggers are also capable of scheduling...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}