QuestionQ27

VerifiedPL/SQL Language Fundamentals

The SH schema contains the PRODUCTS table, with column PDT_NAME defined as VARCHAR2(10).

Which two code blocks execute successfully when invoked by user SH?

Choose two
Explanation

A record qualified expression can provide the default value of a RECORD parameter. An associative array is initially empty, not null, so assigning a value to a new subscript creates that element. In contrast, nested tables and varrays must be initialized before EXTEND or element assignment, and associative-array aggregate initialization requires indexed associations rather than positional values.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!