PL/SQL is a procedural language extension to Structured Query Language. You can take this Oracle PL/SQL quiz questions and answers and check your knowledge. The purpose of PL/SQL is to combine database language and procedural programming language. The quiz below has been designed to help you refresh your memory on Oracle PL/SQL. Give it a shot and see your results. See moreDon't forget to share the results with your friends and see who got the better score. All the best!
Rate this question:
CHAR
VARCHAR1
VARCHAR2
INTEGER
NUMBER
Rate this question:
INITIALIZE, GET, CLOSE
CURSOR, GET, FETCH, CLOSE
OPEN, FETCH, CLOSE
CURSOR, FETCH, CLOSE
GET, SEEK, HIDE
Rate this question:
Rate this question:
Package specification is invalid. Too many procedures named foo.
Package specification is invalid. First procedure should be called foo_1, second procedure should be called foo_2.
Package specification is valid. We can have an unlimited number of procedures name foo.
Package specification is valid. This is an example of overloading.
Package specification is invalid. We can only have one procedure named foo in the package.
Rate this question:
%ID
%ROWTYPE
%COLUMNTYPE
%TYPE
None of the above.
Rate this question:
%TABLE
%ROWTYPE
%COLUMNTYPE
%TYPE
None of the above
Rate this question:
Explicit
Implicit
Select
PL/SQL
None of the above
Rate this question:
Explicit
Implicit
Select
PL/SQL
None of the above
Rate this question:
Rate this question:
ELSE
ELSE IF
ELIF
ELSIF
None of the above
Rate this question:
In the PL/SQL working storage section.
In the PL/SQL declaration section.
In the PL/SQL body section.
In the PL/SQL exception section.
None of the above.
Rate this question:
Rate this question:
09/09/2009 09:09:09
09/09/2009 09:09:09AM
09/09/2009
09/09/2009 00:00:00
None of the above
Rate this question:
Incarnation
Integration
Continuation
Concatenation
None of the above
Rate this question:
DECODE
TRUNCATE
TO_CHAR
NVL
Trick question, all of these are Oracle DML functions.
Rate this question:
Rate this question:
WHILE LOOP ... END LOOP;
FOR rec IN some_cursor LOOP ... END LOOP;
LOOP ... UNTIL ; END LOOP;
LOOP ... EXIT WHEN ; END LOOP;
None of the above. All are valid.
Rate this question:
%NOTFOUND
%FOUND
%ROWCOUNT
%ISOPEN
None of the above. All of these are valid.
Rate this question:
Rate this question:
Box, wrapping, and binding
Header and body
Specification and content
Specification and body
None of the above
Rate this question:
Foo_number varchar2(10);
Foo_text number(10);
Foo_char char(1) := 'Y';
Foo_time date;
Foo_text varchar2(10) := 'hello world';
Rate this question:
Variables
IN OUT Parameters
Name
Signature
None of the above
Rate this question:
Rate this question:
This SQL will list all employees in the Finance department earning more than 20000.
This SQL will list all employees who are in the Finance or Sales department earning more than 20000.
This SQL will list all employees who are Analysts in the Finance or Sales department earning more than 20000.
This SQL will return a cartesian product.
None of the above.
Rate this question:
The commit is fired 1000 times.
The commit is fired 100 times.
The commit is fired 10 times.
The commit is fired 1 time.
None of the above.
Rate this question:
COUNT
SUM
DISTINCT
MIN
All of the above.
Rate this question:
NO_DATA_FOUND ORA-01403
TWO_MANY_ROWS ORA-01422
DUP_VAL_ON_INDEX ORA-00001
OTHERS
None of the above. These are all valid.
Rate this question:
1
2
3
0
None of the above.
Rate this question:
Quiz Review Timeline (Updated): Apr 29, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.