Reader small image

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

Product typeBook
Published inMay 2012
Reading LevelExpert
PublisherPackt
ISBN-139781849687225
Edition1st Edition
Languages
Right arrow
Author (1)
Saurabh K. Gupta
Saurabh K. Gupta
author image
Saurabh K. Gupta

Saurabh K. Gupta is a seasoned database technologist with extensive experience in designing high performance and highly available database applications. His technology focus has been centered around Oracle Database architecture, Oracle Cloud platform, Database In-Memory, Database Consolidation, Multitenant, Exadata, Big Data, and Hadoop. He has authored the first edition of this book. He is an active speaker at technical conferences from Oracle Technology Network, IOUG Collaborate'15, AIOUG Sangam, and Tech Days. Connect with him on his twitter handle (or SAURABHKG) or through his technical blog www.sbhoracle. wordpress.com, with comments, suggestions, and feedback regarding this book.
Read more about Saurabh K. Gupta

Right arrow

Practice exercise


  1. Which two statements are true about associative arrays?

    1. Associative arrays can have negative subscripts.

    2. Associative arrays are always dense collections.

    3. Associative arrays don't need initialization in a PL/SQL block.

    4. The upper limit of associative arrays can be dynamically modified.

  2. Which of the following statements is true about nested tables?

    1. Nested tables are stored in a segment different from that of the parent table.

    2. Nested table columns can have string subscripts

    3. Nested tables can grow dynamically up to any extent.

    4. A database column of the nested table collection type can be separately queried by its storage name.

  3. Only varrays can have sequential numbers as subscripts.

    1. True

    2. False

  4. Which of the following associative array declarations is/are correct?

    DECLARE
    TYPE T1 IS TABLE OF NUMBER INDEX BY BOOLEAN;
    TYPE T2 IS TABLE OF VARCHAR2(10) INDEX BY NUMBER;
    TYPE T3 IS TABLE OF DATE INDEX BY SIGNTYPE;
    TYPE T4 IS TABLE OF EMPLOYEES%ROWTYPE INDEX BY POSITIVE;
    BEGIN
    …
    …
    END;
    1. T1

    2. T2

    3. T3

    4. T4...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Oracle Advanced PL/SQL Developer Professional Guide
Published in: May 2012Publisher: PacktISBN-13: 9781849687225

Author (1)

author image
Saurabh K. Gupta

Saurabh K. Gupta is a seasoned database technologist with extensive experience in designing high performance and highly available database applications. His technology focus has been centered around Oracle Database architecture, Oracle Cloud platform, Database In-Memory, Database Consolidation, Multitenant, Exadata, Big Data, and Hadoop. He has authored the first edition of this book. He is an active speaker at technical conferences from Oracle Technology Network, IOUG Collaborate'15, AIOUG Sangam, and Tech Days. Connect with him on his twitter handle (or SAURABHKG) or through his technical blog www.sbhoracle. wordpress.com, with comments, suggestions, and feedback regarding this book.
Read more about Saurabh K. Gupta