Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Advanced Oracle PL/SQL Developer's Guide (Second Edition)

You're reading from   Advanced Oracle PL/SQL Developer's Guide (Second Edition) Master the advanced concepts of PL/SQL for professional-level certification and learn the new capabilities of Oracle Database 12c

Arrow left icon
Product type Paperback
Published in Feb 2016
Publisher
ISBN-13 9781785284809
Length 428 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Saurabh K. Gupta Saurabh K. Gupta
Author Profile Icon Saurabh K. Gupta
Saurabh K. Gupta
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Overview of PL/SQL Programming Concepts FREE CHAPTER 2. Oracle 12c SQL and PL/SQL New Features 3. Designing PL/SQL Code 4. Using Collections 5. Using Advanced Interface Methods 6. Virtual Private Database 7. Oracle SecureFiles 8. Tuning the PL/SQL Code 9. Result Cache 10. Analyzing, Profiling, and Tracing PL/SQL Code 11. Safeguarding PL/SQL Code against SQL injection 12. Working with Oracle SQL Developer Index

Practice exercise


  • Internal LOBs can be used as attributes of a user-defined data type:

    1. True.

    2. False.

  • Internal LOBs cannot be passed as parameters to PL/SQL subprograms:

    1. True.

    2. False.

  • Internal LOBs can be stored in a tablespace that is different from the tablespace that stores the table containing the LOB column:

    1. True.

    2. False.

  • You issue the following command to create a table called LOB_STORE:

    CREATE TABLE LOB_store
    (LOB_id NUMBER(3),
    photo BLOB DEFAULT EMPTY_CLOB(),
    cv CLOB DEFAULT NULL,
    ext_file BFILE DEFAULT NULL)
    /

    Identify the issue in this script:

    1. The table is created successfully.

    2. It generates an error because a BLOB column cannot be initialized with EMPTY_CLOB().

    3. It generates an error because DEFAULT cannot be set to NULL for a CLOB column during table creation.

    4. It generates an error because DEFAULT cannot be set to NULL for a BFILE column during table creation.

  • Identify the correct statements relating to the initialization of LOBs:

    1. An internal LOB cannot be initialized in the CREATE TABLE statement...

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 €18.99/month. Cancel anytime