Title | |
---|---|
Oracle creates ____ when SQL statements are processedOracle creates ____ when SQL statements are processed.
The answer is:
B. Context Areas
|
|
In the contexts created by Oracle, a cursor represents a ____In the contexts created by Oracle, a cursor represents a ____.
The answer is:
C. Pointer
|
|
An SQL ____ refers to a program that retrieves and processes one row at a time, based on the results of the SQL statementAn SQL ____ refers to a program that retrieves and processes one row at a time, based on the results of the SQL statement.
The answer is:
A. Cursor
|
|
How many types of PL/SQL Cursor are there? |
|
Which of the following is/are the type(s) of the PL/SQL Cursor?Which of the following is/are the type(s) of the PL/SQL Cursor?
The answer is:
C. Both A. and B.
|
|
Which of the following PL/SQL Cursor is automatically generated by Oracle?Which of the following PL/SQL Cursor is automatically generated by Oracle?
The answer is:
A. Implicit
|
|
The Implicit cursors are created in order to process the ____ statementsThe Implicit cursors are created in order to process the ____ statements.
The answer is:
C. DML
|
|
Which of the following is/are an/the implicit cursor's attribute(s)?Which of the following is/are an/the implicit cursor's attribute(s)?
The answer is:
D. All of the above
|
|
What is TRUE about %FOUND in PL/SQL Cursor?What is TRUE about %FOUND in PL/SQL Cursor?
The answer is:
A. If any DML statement, such as INSERT, DELETE or UPDATE, effects one or more rows, or if a SELECT INTO statement returns at least one row, this method returns TRUE.
|
|
What is TRUE about %ISOPEN in PL/SQL Cursor?What is TRUE about %ISOPEN in PL/SQL Cursor?
The answer is:
C. Because SQL cursors are automatically closed after execution of their associated SQL statements, the function always returns FALSE for implicit cursors.
|
|
What is TRUE about %ROWCOUNT in PL/SQL Cursor?What is TRUE about %ROWCOUNT in PL/SQL Cursor?
The answer is:
B. Results are returned for DML statements such as inserting, deleting, and updating records, or for those returned by a SELECT INTO command.
|
|
For ____ control over the context area, programmers can define explicit cursorsFor ____ control over the context area, programmers can define explicit cursors.
The answer is:
A. Greater
|
|
In the PL/SQL Block, Explicit cursors are defined in ___________ sectionIn the PL/SQL Block, Explicit cursors are defined in ___________ section.
The answer is:
B. Declaration
|
|
On the ____ statements, the explicit cursors are created which return rows more than oneOn the ____ statements, the explicit cursors are created which return rows more than one.
The answer is:
C. SELECT
|
|
Which of the following is the correct syntax to create the Explicit Cursor?Which of the following is the correct syntax to create the Explicit Cursor?
The answer is:
D. CURSOR cursor_name IS select_statement;
|
|
There are 4 steps to work on Explicit Cursor:There are 4 steps to work on Explicit Cursor:
Select the correct order of the above 4 steps to work on Explicit Cursor.
The answer is:
C. I > II > III > IV
|
|
Which of the following is the correct syntax to declare explicit cursor?Which of the following is the correct syntax to declare explicit cursor?
The answer is:
D. CURSOR name IS SELECT statement;
|
|
Which of the following is the correct syntax to fetch the cursor?Which of the following is the correct syntax to fetch the cursor?
The answer is:
A. FETCH cursor_name INTO variable_list;
|
|
Which clause is used to open the cursor? |
|
Which clause is used to close the cursor? |
MCQs
Views
Best Answers
Points