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

Displaying Compiler Warning Messages

The document is a quiz about PL/SQL warning messages. It contains 6 multiple choice questions that test understanding of: 1) Which warning level identifies code that could cause unexpected behavior. 2) The difference between warnings and errors. 3) Equivalence of two statements for enabling informational warnings. 4) What informational warnings identify. 5) The definition of an error. 6) Functions for getting and setting warning settings within a PL/SQL program.

Uploaded by

Catalina Achim
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
747 views

Displaying Compiler Warning Messages

The document is a quiz about PL/SQL warning messages. It contains 6 multiple choice questions that test understanding of: 1) Which warning level identifies code that could cause unexpected behavior. 2) The difference between warnings and errors. 3) Equivalence of two statements for enabling informational warnings. 4) What informational warnings identify. 5) The definition of an error. 6) Functions for getting and setting warning settings within a PL/SQL program.

Uploaded by

Catalina Achim
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Test: Quiz: Displaying Compiler Warning Messages 1.

Which PL/SQL warning message identifies code that can cause unexpected behaviour or wrong results when executed? Mark for Review (1) Points INFORMATIONAL PERFORMANCE ALL SEVERE (*) ERROR

Correct 2. A warning in PL/SQL is the same as an error in PL/SQL, but can only be viewed through the USER_ERRORS data dictionary view. True or False? Mark for Review (1) Points True False (*)

Correct. 3. The two statements below are equivalent. True or False? DBMS_WARNING.ADD_WARNING_SETTING_CAT ('INFORMATIONAL','ENABLE','SESSION'); and ALTER SESSION SET PLSQL_WARNINGS = 'ENABLE:INFORMATIONAL'; Mark for Review (1) Points True (*) False

Correct

4. The informational warning level for PL/SQL compiled code identifies the code that may cause execution speed to be slow. True or False? Mark for Review (1) Points True False (*)

Correct 5. An error in PL/SQL is when the compiler does not proceed successfully a nd an error message is displayed. True or False? Mark for Review (1) Points True (*) False

Correct 6. Which pair of DBMS_WARNING commands would allow you to obtain the curre nt settings and change and restore those settings in a PL/SQL subprogram? (Choos e two) Mark for Review (1) Points (Choose all correct answers) DBMS_WARNING.SET_WARNING_SETTING_STRING (*) DBMS_WARNING.ADD_WARNING_SETTING_CAT DBMS_WARNING.GET_WARNING_SETTING_STRING (*) DBMS_WARNING.GET_WARNING_STRING

Correct

You might also like