Exam 4: Cursors and Exception Handling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

____ refers to a SELECT statement in a PL/SQL block that retrieves no rows.

Free
(Multiple Choice)
4.8/5
(20)
Correct Answer:
Verified

B

Predefined exceptions are declared in the ____________________ package, which makes these globally available on the system.

Free
(Short Answer)
4.9/5
(31)
Correct Answer:
Verified

STANDARD

Implicit cursors are considered static because they are associated with specific queries. _________________________

Free
(True/False)
4.8/5
(29)
Correct Answer:
Verified

True

Which of the following statements is correct?

(Multiple Choice)
4.7/5
(40)

In PL/SQL, if a SELECT statement returns no rows, Oracle does not return an error.

(True/False)
4.9/5
(32)

An error raised in the executable section of a block immediately moves processing to the EXCEPTION section of the block in search of an exception handler. _________________________

(True/False)
4.7/5
(33)

The SQLCODE function returns the Oracle error message. _________________________

(True/False)
5.0/5
(46)

A SELECT statement within a PL/SQL block has the possibility of raising the NO_DATA_FOUND exception.

(True/False)
4.9/5
(39)

When referencing SQL attributes, the attribute information always reflects the information from the most recent SQL statement processed.

(True/False)
4.9/5
(33)

A(n) ____________________ statement within a PL/SQL block has the possibility of raising the NO_DATA_FOUND or TOO_MANY_ROWS exception.

(Short Answer)
4.9/5
(33)

A(n) ____ is one that a developer explicitly raises in the block to enforce a business rule.

(Multiple Choice)
4.9/5
(43)

The ____ is an Oracle built-in procedure that allows developers to associate their own error number and message to an error.

(Multiple Choice)
4.7/5
(29)

The SQLERRM function returns the Oracle error number. _________________________

(True/False)
4.8/5
(32)

The ____ action used in an explicit cursor processes the query and creates an active set of rows available in the cursor.

(Multiple Choice)
4.8/5
(33)

Discuss the meaning of the term exception handler.

(Essay)
4.8/5
(34)

____ are declared automatically for DML and SELECT statements issued within a PL/SQL block.

(Multiple Choice)
4.8/5
(30)

A(n) EXCEPTION statement within a PL/SQL block has the possibility of raising the NO_DATA_FOUND or TOO_MANY_ROWS exception. _________________________

(True/False)
4.7/5
(35)

____ has the possibility of raising the NO_DATA_FOUND or TOO_MANY_ROWS exception.

(Multiple Choice)
4.9/5
(38)

____ returns the Oracle error message.

(Multiple Choice)
4.7/5
(32)

The ____ section of a PL/SQL block addresses two situations: either an Oracle error is raised or a user-defined error is raised.

(Multiple Choice)
4.8/5
(33)
Showing 1 - 20 of 65
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)