Het PLSQL - MCQ
Het PLSQL - MCQ
PL/SQL is a –
Explanation:
Explanation:
A. Conditions and loops are fundamental elements of procedural languages like PL/SQL.
B. Various types and variables can be declared, as can procedures and functions, as well
as types and variables of those types.
C. Arrays can be used with it as well as handling exceptions (runtime errors).
D. All of the above
Explanation:
1. Conditions and loops are fundamental elements of procedural languages like PL/SQL.
2. Various types and variables can be declared, as can procedures and functions, as well
as types and variables of those types.
3. Arrays can be used with it as well as handling exceptions (runtime errors).
4. Oracle Database's ____ are inherited in PL/SQL.
A. Portability
B. Robustness
C. Security
D. All of the above
Explanation:
5. PL/SQL text is made up of lexical units, which are groups of characters and can be
classified as –
A. Delimiters
B. Identifiers
C. Literals
D. All of the above
Explanation:
PL/SQL text is made up of lexical units, which are groups of characters and can be classified
as Delimiters, Identifiers, Literals and Comments.
A. 10
B. 20
C. 30
D. 40
Answer: C) 30
Explanation:
Explanation:
1. Variables serve as a means for programmers to temporarily store data during code
execution.
2. PL/SQL programs benefit from its use.
3. There is nothing special about it other than being the name of a storage area.
A. Case Sensitive
B. Upper Case Sensitive
C. Lower Case Sensitive
D. Not Case Sensitive
Explanation:
A. Variable Section
B. Declaration Section
C. Initialization Section
D. None of the above
Explanation:
Explanation:
11. The term ____ refers to a declaration with a size, scale, or precision limit.
A. Constant declaration
B. Constrained declaration
C. Constant decision
D. Constrained decision
Explanation:
The term constrained declaration refers to a declaration with a size, scale, or precision limit.
Explanation:
13. What is/are the Naming Rules for the PL/SQL Variables?
Explanation:
14. In order to initialize a variable with the value other than NULL, it can be done using
which method?
Explanation:
In order to initialize a variable with the value other than NULL, it can be done using the
Assignment Operator and the DEFAULT Keyword both.
Explanation:
The two variable scopes in PL/SQL are Local & Global Variables.
16. What is the difference between Local & Global Variables?
A. Variables in an outer block are defined as local variables since they cannot be
accessed from the outside whereas the innermost block declares global variables.
B. Variables in an inner block are defined as global variables since they cannot be
accessed from the outside whereas the outermost block declares local variables.
C. Variables in an outer block are defined as global variables since they can be accessed
from the outside and the innermost block also declares global variables.
D. Variables in an inner block are defined as local variables since they cannot be
accessed from the outside whereas the outermost block declares global variables.
Answer: D) Variables in an inner block are defined as local variables since they cannot be
accessed from the outside whereas the outermost block declares global variables.
Explanation:
Variables in an inner block are defined as local variables since they cannot be accessed from
the outside whereas the outermost block declares global variables.
17. ____ are values used in PL/SQL blocks that do not change during execution.
A. Variables
B. Constants
C. Functions
D. Cursor
Answer: B) Constants
Explanation:
Constants are values used in PL/SQL blocks that do not change during execution.
A. In-built
B. User-defined
C. Both a and b
D. None of the above
Answer: B) User-defined
Explanation:
Explanation:
Explanation:
A. Initialization
B. Declaration
C. Valuation
D. Numeralization
Answer: B) Declaration
Explanation:
A. Constants
B. Literals
C. Cursor
D. Variables
Answer: B) Literals
Explanation:
Literals are values which do not have an identifier and are numeric, character, string, or
Boolean.
A. NULL
B. TRUE
C. Both A. and B.
D. None of the above
Explanation:
NULL, TRUE, etc. Are the examples of the literal of type Boolean.
Explanation:
A. Numeric
B. String
C. Boolean
D. Check
Answer: D) Check
Explanation:
Type of PL/SQL literals are Numeric, Character, String, Boolean and Date & Time.
A. 1234
B. 22
C. 0
D. All of the above
Explanation:
A. TRUE
B. FALSE
C. HELLO
D. NULL
Answer: C) HELLO
Explanation:
HELLO is NOT a Boolean literal. TRUE, FALSE, NULL etc. are Boolean literals.
A. B
B. 4
C. %
D. All of the above
A. Iterative Statements
B. Conditional Statements
C. Both A. and B.
D. None of the above
Explanation:
Programming languages features that are used in PL/SQL are iterative and conditional
statements.
A. IF-THEN statement
B. IF-THEN-ELSE statement
C. IF-THEN-ELSIF statement
D. All of the above
Explanation:
1. IF-THEN statement
2. IF-THEN-ELSE statement
3. IF-THEN-ELSIF statement
4. IF-THEN-ELSIF-ELSE statement
A. Depending on whether the condition is TRUE or FALSE, you may want to execute
one set of statements or another set.
B. If the condition is TRUE, then you want statements to be executed
C. As long as condition1 is TRUE, then one set of statements will be executed, and when
condition2 is TRUE, another set will be executed.
D. When condition1 is TRUE, one set of statements will be executed, and when both
conditions are FALSE, a different set of statements will be executed.
Explanation:
A. Depending on whether the condition is TRUE or FALSE, you may want to execute
one set of statements or another set.
B. If the condition is TRUE, then you want statements to be executed
C. As long as condition1 is TRUE, then one set of statements will be executed, and when
condition2 is TRUE, another set will be executed.
D. When condition1 is TRUE, one set of statements will be executed, and when both
conditions are FALSE, a different set of statements will be executed.
Answer: A) Depending on whether the condition is TRUE or FALSE, you may want to
execute one set of statements or another set.
Explanation:
Depending on whether the condition is TRUE or FALSE, you may want to execute one set of
statements or another set.
A. Depending on whether the condition is TRUE or FALSE, you may want to execute
one set of statements or another set.
B. If the condition is TRUE, then you want statements to be executed
C. As long as condition1 is TRUE, then one set of statements will be executed, and when
condition2 is TRUE, another set will be executed.
D. When condition1 is TRUE, one set of statements will be executed, and when both
conditions are FALSE, a different set of statements will be executed.
Answer: C) As long as condition1 is TRUE, then one set of statements will be executed, and
when condition2 is TRUE, another set will be executed.
Explanation:
As long as condition1 is TRUE, then one set of statements will be executed, and when
condition2 is TRUE, another set will be executed.
34. ____ executes the corresponding code whenever a TRUE condition is found.
Otherwise, the condition cannot be checked again.
A. IF-THEN statement
B. IF-THEN-ELSE statement
C. IF-THEN-ELSIF statement
D. IF-THEN-ELSIF-ELSE statement
Explanation:
35. In the absence of a condition, the ELSE part of the ____ statement will be executed.
A. IF-THEN-ELSE statement
B. IF-THEN-ELSIF statement
C. IF-THEN-ELSIF-ELSE statement
D. None of the above
Explanation:
In the absence of a condition, the ELSE part of the IF-THEN-ELSE statement will be
executed.
A. IF
B. THEN
C. ELSE
D. None of the above
Answer: C) ELSE
Explanation:
Answer: C) WHEN
Explanation:
A. Variable
B. Function
C. Expression
D. All of the above
Explanation:
A. RIGHT to LEFT
B. TOP to BOTTOM
C. BOTTOM to TOP
D. None of the above
Explanation:
40. By using PL/SQL ____, you can repeatedly execute one or more statements over and
over again.
A. Loops
B. Cursor
C. Variables
D. Case
Answer: A) Loops
Explanation:
By using PL/SQL loops, you can repeatedly execute one or more statements over and over
again.
Explanation:
A. LOOP
B. END LOOP;
C. Sequence of statements;
D. END LOOP;
E. LOOP
F. Sequence of statements;
G. LOOP
H. Sequence of statements;
I. END LOOP;
J. END LOOP;
K. Sequence of statements;
L. LOOP
Answer: C)
LOOP
Sequence of statements;
END LOOP;
Explanation:
A. 3
B. 4
C. 5
D. 6
Answer: B) 4
Explanation:
A. While
B. For
C. Cursor For
D. All of the above
Explanation:
45. A/An _______ loop in PL/SQL ensures that at least one statement is executed before
the loop terminates.
A. While
B. For
C. Cursor For
D. Exit
Answer: D) Exit
Explanation:
An exit loop in PL/SQL ensures that at least one statement is executed before the loop
terminates.
46. Which of the following is TRUE while using PL/SQL Exit Loop?
Explanation:
47. The PL/SQL ____ loop runs a series of statements as long as a condition is true, so it
can be used in a series of statements.
A. While
B. Cursor For
C. Basic
D. For
Answer: A) While
Explanation:
The PL/SQL While loop runs a series of statements as long as a condition is true, so it can be
used in a series of statements.
A. WHILE <condition>
B. LOOP statements;
C. END LOOP;
D. LOOP statements;
E. WHILE <condition>
F. END LOOP;
G. END LOOP;
H. WHILE <condition>
I. LOOP statements;
J. None of the above
Answer: A)
WHILE <condition>
LOOP statements;
END LOOP;
Explanation:
WHILE <condition>
LOOP statements;
END LOOP;
49. When you want to execute a series of statements repeatedly, you use the PL/SQL
____ loop.
A. Cursor For
B. Cursor
C. For
D. While
Answer: C) For
Explanation:
When you want to execute a series of statements repeatedly, you use the PL/SQL for loop.
A. 0
B. 1
C. 2
D. NULL
Answer: B) 1
Explanation:
51. Which of the following is TRUE while using PL/SQL FOR Loop?
A. The counter variable is implicitly declared in the declaration section, so you do not
need to declare it explicitly.
B. It is not necessary to explicitly increment the counter variable since it is incremented
by 1.
C. FOR loops can use EXIT WHEN and EXIT statements, but it isn't often used.
D. All of the above
Explanation:
1. The counter variable is implicitly declared in the declaration section, so you do not
need to declare it explicitly.
2. It is not necessary to explicitly increment the counter variable since it is incremented
by 1.
3. FOR loops can use EXIT WHEN and EXIT statements, but it isn't often used.
52. PL/SQL ____ statement initiates the next iteration of a loop, skipping any code in
between, by exiting the loop from the reminder in its body either conditionally or
unconditionally.
A. Condition
B. Cursor
C. Continue
D. Check
Answer: C) Continue
Explanation:
PL/SQL Continue statement initiates the next iteration of a loop, skipping any code in
between, by exiting the loop from the reminder in its body either conditionally or
unconditionally.
53. In which Oracle does the PL/SQL Continue Statement is supported?
A. Oracle 8g
B. Oracle 9g
C. Oracle 10g
D. Oracle 11g
Explanation:
54. A ____ statement in PL/SQL allows you to jump from this statement to a specific
statement label within the same subprogram within a PL/SQL block.
A. JUMP
B. GOTO
C. CONTINUE
D. BLINK
Answer: B) GOTO
Explanation:
A GOTO statement in PL/SQL allows you to jump from this statement to a specific statement
label within the same subprogram within a PL/SQL block.
55. The symbol in which the label_name is encapsulated in PL/SQL GOTO statement is
–
A. ()
B. {}
C. []
D. <<>>
Answer: D) <<>>
Explanation:
The symbol in which the label_name is encapsulated in PL/SQL GOTO statement is << >>.
Explanation:
Explanation:
Answer: A) Parameters and variables are contained in the header of the procedure
Explanation:
Parameters and variables are contained in the header of the procedure.
59. How much number of ways is there to pass the parameters in procedure?
A. 1
B. 2
C. 3
D. 4
Answer: C) 3
Explanation:
A. IN
B. OUT
C. INOUT
D. All of the above
Explanation:
1. IN
2. OUT
3. INOUT
A. IN, OUT
B. OUT, INOUT
C. IN, INOUT
D. None of the above
Explanation:
A. IN
B. OUT
C. INOUT
D. None of the above
Answer: A) IN
Explanation:
A. Create
B. Call
C. Drop
D. All of the above
Explanation:
i. Create
ii. Call
iii. Drop
64. What is the difference between PL/SQL Function and PL/SQL Procedure?
A. PL/SQL function may or may not return the value whereas PL/SQL Procedure must
have to return the value.
B. PL/SQL Procedure may or may not return the value whereas PL/SQL Function must
have to return the value.
C. PL/SQL Function may or may not return the function whereas PL/SQL Procedure
must have to return the function.
D. None of the above
Answer: B) PL/SQL Procedure may or may not return the value whereas PL/SQL Function
must have to return the value
Explanation:
PL/SQL Procedure may or may not return the value whereas PL/SQL Function must have to
return the value.
65. Which of the following is NOT present in the syntax of PL/SQL function?
A. Function_name
B. [OR REPLACE]
C. Optional Parameter List
D. None of the above
Explanation:
Function_name, [OR REPLACE], Optional Parameter List, IN are all present in the syntax of
PL/SQL function.
A. Follow Statement
B. GOTO Statement
C. Return Statement
D. NULL Statement
Explanation:
A. Identity Function
B. Quadratic Function
C. One to One Function
D. Standalone Function
Explanation:
A. Declare
B. Define
C. Invoke
D. All of the above
Explanation:
69. Which of the following is /are TRUE about calling a PL/SQL function?
Explanation:
All the below points are TRUE about calling a PL/SQL function –
70. The call function returns program control to the ____ after successful completion of
the defined task.
A. Main Table
B. Main Database
C. Main Program
D. Main Row
Explanation:
The call function returns program control to the main program after successful completion of
the defined task.
71. Calling a function requires that the parameters be provided along with the ____,
and if the function returns a value, that value can be stored.
A. Function Name
B. Optional Parameter List
C. IF Statement
D. Rollback Statement
Explanation:
Calling a function requires that the parameters be provided along with the function name, and
if the function returns a value, that value can be stored.
72. It is called ____ when the subprogram calls itself and ____ is the process.
Explanation:
It is called recursive call when the subprogram calls itself and recursion is the process.
A. REMOVE FUNCTION
B. DELETE FUNCTION
C. ERASE FUNCTION
D. DROP FUNCTION
Explanation:
A. Content Areas
B. Context Areas
C. Context Ids
D. Content Ids
Explanation:
A. Function
B. Table
C. Pointer
D. None of the above
Answer: C) Pointer
Explanation:
76. An SQL ____ refers to a program that retrieves and processes one row at a time,
based on the results of the SQL statement.
A. Cursor
B. Function
C. Procedure
D. View
Answer: A) Cursor
Explanation:
An SQL cursor refers to a program that retrieves and processes one row at a time, based on
the results of the SQL statement.
A. 1
B. 2
C. 3
D. 4
Answer: B) 2
Explanation:
78. Which of the following is/are the type(s) of the PL/SQL Cursor?
A. Implicit
B. Explicit
C. Both A. and B.
D. None of the above
Explanation:
A. Implicit
B. Explicit
C. Both a and b
D. None of the above
Answer: A) Implicit
Explanation:
80. The Implicit cursors are created in order to process the ____ statements.
A. DDL
B. DCL
C. DML
D. TCL
Answer: C) DML
Explanation:
The implicit cursors are created in order to process the DML statements such as INSERT,
DELETE, UPDATE, etc.
A. %FOUND
B. %ROWCOUNT
C. %ISOPEN
D. All of the above
Explanation:
%FOUND, %ROWCOUNT, %OPEN and %NOTFOUND are all the implicit cursor's
attributes.
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.
B. A SELECT INTO statement or DML statements like INSERT, DELETE, AND
UPDATE do not result in any rows being affected.
C. Because SQL cursors are automatically closed after execution of their associated SQL
statements, the function always returns FALSE for implicit cursors.
D. Results are returned for DML statements such as inserting, deleting, and updating
records, or for those returned by a SELECT INTO command.
Answer: 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
Explanation:
In the case of %FOUND, 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.
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.
B. A SELECT INTO statement or DML statements like INSERT, DELETE, AND
UPDATE do not result in any rows being affected.
C. Because SQL cursors are automatically closed after execution of their associated SQL
statements, the function always returns FALSE for implicit cursors.
D. Results are returned for DML statements such as inserting, deleting, and updating
records, or for those returned by a SELECT INTO command.
Answer: C) Because SQL cursors are automatically closed after execution of their associated
SQL statements, the function always returns FALSE for implicit cursors
Explanation:
In the case of %ISOPEN, Because SQL cursors are automatically closed after execution of
their associated SQL statements, the function always returns FALSE for implicit cursors.
Answer: B) Results are returned for DML statements such as inserting, deleting, and
updating records, or for those returned by a SELECT INTO command
Explanation:
Results are returned for DML statements such as inserting, deleting, and updating records, or
for those returned by a SELECT INTO command.
85. For ____ control over the context area, programmers can define explicit cursors.
A. Greater
B. Lesser
C. Equal
D. None of the above
Answer: A) Greater
Explanation:
For greater control over the context area, programmers can define explicit cursors.
86. In the PL/SQL Block, Explicit cursors are defined in ___________ section.
A. Initialization
B. Declaration
C. End
D. None of the above
Answer: B) Declaration
Explanation:
87. On the ____ statements, the explicit cursors are created which return rows more
than one.
A. DELETE
B. CREATE
C. SELECT
D. UPDATE
Answer: C) SELECT
Explanation:
On the SELECT statements, the explicit cursors are created which return rows more than one.
88. Which of the following is the correct syntax to create the Explicit Cursor?
Explanation:
Select the correct order of the above 4 steps to work on Explicit Cursor.
Explanation:
This is the order in which 4 steps will be performed to work on Explicit Cursor:
90. Which of the following is the correct syntax to declare explicit cursor?
A. CURSOR IS name
B. SELECT statement;
C. CURSOR name is
D. Statement SELECT;
E. Name IS CURSOR
F. SELECT statement;
G. CURSOR name IS
H. SELECT statement;
Answer: D)
CURSOR name IS
SELECT statement;
Explanation:
CURSOR name IS
SELECT statement;
91. Which of the following is the correct syntax to fetch the cursor?
Explanation:
FETCH cursor_name INTO variable_list is the correct syntax to fetch the cursor.
A. BEGIN
B. START
C. OPEN
D. INITIATE
Answer: C) OPEN
Explanation:
A. END
B. STOP
C. FINISH
D. CLOSE
Answer: D) CLOSE
Explanation:
94. Whenever a specified event occurs, the ____ is automatically triggered by the Oracle
engine.
A. Cursor
B. Trigger
C. Exception
D. View
Answer: B) Trigger
Explanation:
Whenever a specified event occurs, the trigger is automatically triggered by the Oracle
engine.
Explanation:
A. DDL
B. DML
C. Database Operation
D. All of the above
Explanation:
I. DDL occurs
II. DML occurs
III. Database Operation occurs
97. Which of the following is database operation?
A. SERVERERROR
B. STARTUP
C. SHUTDOWN
D. All of the above
Explanation:
SERVERERROR, STARTUP, SHUTDOWN, LOGON and LOGOFF are all the database
operations.
Explanation:
Trigger has this advantage of the tables to be replicated synchronously and not
asynchronously.
Explanation:
INSERT or UPDATE or DELETE clauses performs the DML Operations in Trigger syntax.
100. Which clause(s) is/are used to specify when the trigger will get executed?
A. BEFORE
B. AFTER
C. INSTEAD OF
D. All of the above
Explanation:
BEFORE or AFTER or INSTEAD OF clauses are used to specify when the trigger will get
executed.
A. BEFORE
B. AFTER
C. INSTEAD OF
D. None of the above
Answer: C) INSTEAD OF
Explanation:
Explanation:
A. A row-level trigger is specified, meaning that each row is affected by this trigger
B. When the SQL statement is run, the trigger will be executed just once, which is what
is called a table-level trigger
C. Both A. and B.
D. None of the above
Explanation:
A. A row-level trigger is specified, meaning that each row is affected by this trigger
B. When the SQL statement is run, the trigger will be executed just once, which is what
is called a table-level trigger
Explanation:
A. Table-level triggers do not have access to OLD and NEW references. Record-level
triggers use OLD and NEW references.
B. Record-level triggers do not have access to OLD and NEW references. Table-level
triggers use OLD and NEW references.
C. Table-level triggers have access to OLD and NEW references.
D. Record-level triggers do not use OLD and NEW references.
Answer: A) Table-level triggers do not have access to OLD and NEW references. Record-
level triggers use OLD and NEW references.
Explanation:
Table-level triggers do not have access to OLD and NEW references. Record-level triggers
use OLD and NEW references.
106. Which keyword is used to query the table in the same trigger?
A. BEFORE
B. AFTER
C. SAME
D. EXACT
Answer: B) AFTER
Explanation:
A. This clause is used to refer the old values for different DML statements.
B. This clause is used to refer the new values for different DML statements.
C. Both A. and B.
D. None of the above
Explanation:
REFERENCING OLD AS o NEW AS n clause is used to refer the old and new values for
different DML statements.
Explanation:
109. Which of the following clause is not present in the syntax of trigger?
A. DECLARE
B. TRIGGER
C. CURSOR
D. INSTEAD OF
Answer: C) CURSOR
Explanation:
110. Tables, views, schemas, or databases can be defined as ________ for events.
A. Procedure
B. Views
C. Triggers
D. Cursors
Answer: C) Triggers
Explanation:
111. Errors that are encountered during the execution of the program are referred to as
____ in PL/SQL.
A. FUNCTION
B. CURSOR
C. EXCEPTION
D. PROCEDURE
Answer: C) EXCEPTION
Explanation:
Errors that are encountered during the execution of the program are referred to as exceptions
in PL/SQL.
112. How many types of exceptions are there?
A. 2
B. 3
C. 4
D. 5
Answer: A) 2
Explanation:
A. System-defined
B. User-defined
C. Both A. and B.
D. None of the above
Explanation:
A. RISE
B. ROSE
C. RAISE
D. RINSE
Answer: C) RAISE
Explanation:
With the help of RAISE command, one can easily raise an exception explicitly.
Explanation:
Explanation:
117. Which of the following clause does not comes in the syntax while raising an
exception?
A. DECLARE
B. WHEN
C. CLOSE
D. END
Answer: C) CLOSE
Explanation:
118. When SELECT INTO returns no rows, which pre-defined exception is raised?
A. ACCESS_INTO_NULL
B. NO_DATA_FOUND
C. NOT_LOGGED_ON
D. VALUE_ERROR
Answer: B) NO_DATA_FOUND
Explanation:
A. A unique index column with duplicate values is raised when this error occurs.
B. An invalid username or password is used by a program to connect to a database.
C. An automatic assignment of a value to a NULL object raises this exception.
D. It is raised when more than one row is returned by a SELECT INTO statement.
Explanation:
120. Which exception is rose when there is no other clause in the "WHEN" clause of a
CASE statement, and none of the choices in the "WHEN" clause have been selected?
A. INVALID_CURSOR
B. DUP_VAL_ON_INDEX
C. VALUE_ERROR
D. CASE_NOT_FOUND
Answer: D) CASE_NOT_FOUND
Explanation:
CASE_NOT_FOUND exception is rose when there is no other clause in the "WHEN" clause
of a CASE statement, and none of the choices in the "WHEN" clause have been selected.
A. A unique index column with duplicate values is raised when this error occurs.
B. The exception is thrown when an uninitialized nested table or varray is attempted to
be populated with collection methods other than exist, or when an element of an
uninitialized nested table or varray is attempted to be assigned values.
C. If a select into statement fails to return any rows, it raises this error.
D. This error message appears when a number is divided by zero.
Explanation:
A. A unique index column with duplicate values is raised when this error occurs.
B. The error is raised if an attempt is made to close an unopened cursor or perform a
cursor operation without permission.
C. When character strings are converted to numbers, it is raised if the string did not
represent a valid number.
D. An invalid username or password is used to log on to the database by a program.
Answer: A) A unique index column with duplicate values is raised when this error occurs.
Explanation:
A. PROGRAM_ERROR
B. NOT_LOGGED_IN
C. NOT_LOGGED_ON
D. NULL_LOGGED-ON
Answer: C) NOT_LOGGED_ON
Explanation:
A. VALUE_ERROR
B. INTERNAL_ERROR
C. PROBLEM_ERROR
D. PROGRAM_ERROR
Answer: D) PROGRAM_ERROR
Explanation:
A. When a member method is invoked on an object type, but its instance has not been
initialized, this exception is raised.
B. Error in PL/SQL occurs when memory is exhausted or corrupt.
C. Cursors raise this exception when they seek values in variables of incompatible types.
D. None of the above
Answer: C) Cursors raise this exception when they seek values in variables of incompatible
types.
Explanation:
Cursors raise the exception ROWTYPE_MISMATCH when they seek values in variables of
incompatible types.
Answer: B) When a member method is invoked on an object type, but its instance has not
been initialized, this exception is raised.
Explanation:
A. ZERO-DIVIDE
B. VALUE_ERROR
C. MEMORY_ERROR
D. STORAGE_ERROR
Answer: D) STORAGE_ERROR
Explanation:
128. The exception thrown when more than one row is returned from a SELECT INTO
statement?
A. MORE_THAN_ONE_ROW
B. MORE_ROWS
C. TOO_MANY_ROWS
D. MANY_ROWS
Answer: C) TOO_MANY_ROWS
Explanation:
The exception thrown when more than one row is returned from a SELECT INTO statement
is TOO_MANY_ROWS.
Answer: A) Errors relating to arithmetic, conversion, truncation, or size constraints raise this
signal.
Explanation:
Explanation: