Filters
Question type

Study Flashcards

____ is required in a PRAGMA EXCEPTION_INIT statement.


A) LOOP
B) Exception name
C) Predefined error
D) INIT code

Correct Answer

verifed

verified

A(n) PRAGMA statement instructs Oracle to use some additional information provided when compiling and executing a block. _________________________

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

user-defin...

View Answer

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

Correct Answer

verifed

verified

You can process multiple rows of data from a database by creating explicit cursors.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

____ is used to trap errors not specifically addressed in one of the exception handlers.


A) WHERE
B) EXIT WHEN
C) WHEN OTHERS
D) EXCEPTION

Correct Answer

verifed

verified

Some cursor variables are references or pointers to a specific work area.

Correct Answer

verifed

verified

The ____ handler should always be the last handler listed in the EXCEPTION section of a block.


A) TOO_MANY_ROWS
B) NO_DATA_FOUND
C) EXIT WHEN
D) WHEN OTHERS

Correct Answer

verifed

verified

Bulk processing options can have a detrimental effect on performance.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

The RAISE_APPLICATION_ERROR is an Oracle built-in procedure that allows the developer to associate their own error number and message to an error. _________________________

Correct Answer

verifed

verified

Because Oracle does not raise an error if a(n) ____________________ does not affect any rows, you must include specific instructions in the block.

Correct Answer

verifed

verified

The ____ option groups rows of queries or DML statements for processing.


A) FORALL
B) COLLECT BULK
C) BULK COLLECT
D) LIMIT

Correct Answer

verifed

verified

If the INTO 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. _________________________

Correct Answer

verifed

verified

A(n) ____ is a mechanism to trap an error that occurs in processing.


A) EXCEPTION
B) UPDATE
C) Exception handler
D) GOTO

Correct Answer

verifed

verified

____ refers to a condition where there is no WHEN clause in the CASE statement.


A) CASE_NOT_FOUND
B) ZERO_DIVIDE
C) DUP_VAL_ON_INDEX
D) NO_DATA_FOUND

Correct Answer

verifed

verified

In PL/SQL, comment text is not executed.

Correct Answer

verifed

verified

____ refers to an attempted violation of a unique or primary key column constraint.


A) NO_DATA_FOUND
B) TOO_MANY_ROWS
C) DUP_VAL_ON_INDEX
D) CASE_NOT_FOUND

Correct Answer

verifed

verified

The ____ action used with an explicit cursor creates a named cursor identified by a SELECT statement.


A) OPEN
B) DECLARE
C) FETCH
D) CLOSE

Correct Answer

verifed

verified

Showing 21 - 40 of 65

Related Exams

Show Answer