Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
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
1. Overview of PL/SQL Programming Concepts 2. Designing PL/SQL Code 3. Using Collections 4. Using Advanced Interface Methods 5. Implementing VPD with Fine Grained Access Control 6. Working with Large Objects 7. Using SecureFile LOBs 8. Compiling and Tuning to Improve Performance 9. Caching to Improve Performance 10. Analyzing PL/SQL Code 11. Profiling and Tracing PL/SQL Code 12. Safeguarding PL/SQL Code against SQL Injection Attacks Answers to Practice Questions Index

Managing LOB data types


The LOB data management includes its interaction with the loading interface, data manipulation strategies, and selection of the LOB data. The section makes certain recommendations to manage internal LOBs, BFILEs, and temporary LOBs.

Managing internal LOBs

An internal LOB data type that is, a CLOB or BLOB data type column can be interacted through supported interfaces such as DBMS_LOB, JDBC, or OLE object structure. In PL/SQL, LOB data is majorly managed through the DBMS_LOB package which provides a wide variety of subprograms to populate the LOB data, manipulate it, and extract relevant information such as length, size, and so on.

Few of the recommendations to manage the internal LOB are as follows:

  • The LOB column can be initialized as NULL using EMPTY_BLOB() or EMPTY_CLOB() functions.

  • A CLOB can be populated through SQL or a text file loaded from a PL/SQL program. A BLOB should always be loaded through a PL/SQL block.

  • Use of DBMS_LOB package is preferable for the LOB...

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}