Filters
Question type

Study Flashcards

____ 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

E) A) and C)
F) All of the above

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

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


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

E) All of the above
F) A) and D)

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

E) B) and D)
F) A) and B)

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

E) None of the above
F) B) and C)

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. _________________________

A) True
B) False

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

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

A) True
B) False

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

E) B) and D)
F) A) and B)

Correct Answer

verifed

verified

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

A) True
B) False

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

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

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

A) True
B) False

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

E) All of the above
F) A) and C)

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. _________________________

A) True
B) False

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. _________________________

A) True
B) False

Correct Answer

verifed

verified

Bulk processing options can have a detrimental effect on performance.

A) True
B) False

Correct Answer

verifed

verified

In PL/SQL, comment text is not executed.

A) True
B) False

Correct Answer

verifed

verified

____ is required in a PRAGMA EXCEPTION_INIT statement.


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

E) C) and D)
F) A) and D)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

Showing 21 - 40 of 65

Related Exams

Show Answer