0% found this document useful (0 votes)
323 views

Using PL SQL Initialization Parameters

This quiz tested knowledge of PL/SQL initialization parameters. The document contained 6 multiple choice questions about parameters such as PLSQL_OPTIMIZE_LEVEL and PLSQL_CODE_TYPE. Key points covered included that PLSQL_OPTIMIZE_LEVEL=2 removes unused code, ALTER SESSION sets PLSQL_CODE_TYPE to NATIVE for fastest speed, and PLSQL_CODE_TYPE determines code type for both PL/SQL and SQL.

Uploaded by

Catalina Achim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
323 views

Using PL SQL Initialization Parameters

This quiz tested knowledge of PL/SQL initialization parameters. The document contained 6 multiple choice questions about parameters such as PLSQL_OPTIMIZE_LEVEL and PLSQL_CODE_TYPE. Key points covered included that PLSQL_OPTIMIZE_LEVEL=2 removes unused code, ALTER SESSION sets PLSQL_CODE_TYPE to NATIVE for fastest speed, and PLSQL_CODE_TYPE determines code type for both PL/SQL and SQL.

Uploaded by

Catalina Achim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

Test: Quiz: Using PL/SQL Initialization Parameters 1.

When setting PLSQL_OPTIMIZE_LEVEL = 2, the compiled code will remove co de and exceptions that can never be executed. True or False? Mark for Review (1) Points True (*) False

Correct 2. To set the PLSQL_CODE_TYPE to its fastest execution speed, which comman d do you use? Mark for Review (1) Points ALTER SYSTEM SET PLSQL_CODE_TYPE=NATIVE; ALTER SYSTEM SET PLSQL_CODE_TYPE=2; ALTER SESSION SET PLSQL_CODE_TYPE = NATIVE; (*) ALTER SESSION SET PLSQL_CODE_TYPE = INTERPRETED; ALTER SESSION SET PLSQL_CODE_TYPE = 2;

Correct 3. Which are NOT examples of benefits of using PLSQL_OPTIMIZE_LEVEL. (Choo se two) Mark for Review (1) Points (Choose all correct answers) Control what PL/SQL does with useless code. Combining compiled code from one subprogram into another subprogram. Separating compiled code so that separate units may be repeated as neede d. (*) Backward compatible with previous versions of the Oracle database.

Modify source code to optimize frequently-used elements at the top. (*)

Correct 4. What are the valid values for PLSQL_OPTIMIZE_LEVEL in the data dictiona ry? Mark for Review (1) Points 0,1,2,3 (*) 0,1,2,3,4 1,2,3 1,2,3,4

Correct 5. Which data dictionary view allows you to see the setting for PLSQL_OPTI MIZE_LEVEL? Mark for Review (1) Points USER_PLSQL_OBJECTS USER_PLSQL_OPTIMIZE USER_PLSQL_OBJECT_SETTINGS (*) USER_OBJECT_SETTINGS USER_PLSQL_CODE_TYPE

Correct 6. PLSQL_CODE_TYPE determines the type of code for PL/SQL code and for SQL statements, which is what speeds up the execution speed. True or False? Mark for Review (1) Points True False (*)

Correct

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy