nerdexam
Oracle

1Z0-146 · Question #10

You executed the following command: SQL> ALTER SESSION SET PLSCOPE_SETTINGS = 'IDENTIFIERS:ALL'; You create a new package called PACK1. View Exhibit1 to examine the PL/SQL code for the PACK1 package…

The correct answer is B. The TYPE column has the value of packages, function or procedures, object types, PL/SQL types, C. The query shows the output for only those identifiers for PL/SQL objects, which are created by the. See the full explanation below for the reasoning.

Question

You executed the following command:

SQL> ALTER SESSION SET PLSCOPE_SETTINGS = 'IDENTIFIERS:ALL'; You create a new package called PACK1. View Exhibit1 to examine the PL/SQL code for the PACK1 package specification and body. You issue the following query to see all unique identifiers with a name, such as %1:

SQL> SELECT NAME, SIGNATURE, TYPE FROM USER_IDENTIFIERS WHERE NAME LIKE '%1' AND USAGE='DECLARATION' ORDER BY OBJECT_TYPE, USAGE_ID; View Exhibit2 to examine the output of the query. Which two statements are true about the output of the query? (Choose two.)

Exhibits

1Z0-146 question #10 exhibit 1
1Z0-146 question #10 exhibit 2

Options

  • AThe SIGNATURE column has a unique value for an identifier except for identifiers with the same name.
  • BThe TYPE column has the value of packages, function or procedures, object types, PL/SQL types,
  • CThe query shows the output for only those identifiers for PL/SQL objects, which are created by the
  • DThe ALTER SESSION command automatically collects identifier data and the query shows the output

How the community answered

(37 responses)
  • A
    14% (5)
  • B
    78% (29)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-146 Practice