Exam 4: Cursors and Exception Handling

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

Oracle supplies a set of ____ or names associated with common Oracle errors.

(Multiple Choice)
4.7/5
(26)

____ are values passed into the cursor when opened and used in the SELECT statement of the cursor to determine what value it will contain.

(Multiple Choice)
4.8/5
(28)

What can be used to simplify processing each row of a set retrieved from a database?

(Multiple Choice)
4.7/5
(35)

An attempted division by zero causes the ____________________ exception.

(Short Answer)
4.8/5
(30)

An attempted violation of a unique or primary key column constraint causes the ____________________ exception.

(Short Answer)
4.9/5
(33)

The ____________________ function returns the Oracle error number.

(Short Answer)
4.8/5
(36)

A FORALL statement can process a group of rows in a DML operation.

(True/False)
4.7/5
(37)

____ refers to a SELECT statement in a PL/SQL block that retrieves more than one row.

(Multiple Choice)
4.8/5
(29)

A cursor variable assigns a name to a work area holding a specific result set, whereas an explicit cursor is simply a pointer to a work area in which a query can be processed.

(True/False)
4.8/5
(25)

The ____ option specifies the number of rows to process as a group.

(Multiple Choice)
4.9/5
(31)

What is the difference between an explicit and an implicit cursor?

(Essay)
4.8/5
(35)

If the ____________________ clause of a SELECT statement contains either scalar or record variables and if more than one row is selected, the TOO_MANY_ROWS error is raised.

(Short Answer)
4.9/5
(34)

When processing many rows in a query, ____________________ can be used to improve performance.

(Short Answer)
4.8/5
(42)

Implicit and explicit cursors are considered dynamic because they are associated with specific queries.

(True/False)
4.7/5
(41)

____ are declared and manipulated in the PL/SQL block code for handling a set of rows returned by a SELECT statement.

(Multiple Choice)
4.8/5
(26)

A good programming practice is to include ____________________ in your code to document what is being accomplished throughout the program.

(Short Answer)
4.8/5
(26)

What is the difference between a predefined exception and a user-defined exception?

(Essay)
4.8/5
(35)

In Oracle, if the UPDATE statement does not affect any rows, an error is raised.

(True/False)
4.8/5
(40)

Because Oracle does not raise an error if a(n) UPDATE does not affect any rows, you must include specific instructions in the block to raise an error if no rows are updated. _________________________

(True/False)
4.9/5
(34)

The ____ action used with an explicit cursor clears the active set of rows and frees the memory area used for the cursor.

(Multiple Choice)
4.9/5
(36)
Showing 41 - 60 of 65
close modal

Filters

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