Exam 4: Cursors and Exception Handling
Exam 1: Introduction To PL/SQL54 Questions
Exam 2: Basic PL/SQL Block Structures81 Questions
Exam 3: Handling Data In PL/SQL Blocks51 Questions
Exam 4: Cursors and Exception Handling65 Questions
Exam 5: Procedures75 Questions
Exam 6: Functions51 Questions
Exam 7: PL/SQL Packages68 Questions
Exam 8: Program Unit Dependencies61 Questions
Exam 9: Database Triggers54 Questions
Exam 10: Oracle-Supplied Packages, Dynamic SQL, and Hiding Source Code85 Questions
Select questions type
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)