Oracle PL/SQL Programming Quiz
Test your knowledge of Oracle database programming including PL/SQL procedures, triggers, cursors, packages, views, and collection types
Questions
How many LONG columns are allowed in a table ?
- 0
- 1
- 8
- Any number
The data contained in Materialized view will be deleted automatically if the base tables will be deleted?
- True
- False
Find the error in the line for the query written below?
- Line 1
- Line 2
- Line 3
- Line 4
Can a view be created be based on another view definition?
- True
- False
Does the view exist if the table is dropped from the database?
- True
- False
Is this a valid join condition written in the query below?
- True
- False
Can we create index on Materialized Views?
- True
- False
The RowID can be changed for the particular row whenever any insert or update operation is performed on the table?
- True
- False
Which of the following will be a better compilation methodology for a Procedure that involves only looping structures.
- NATIVE
- INTERPRETTED
- BOTH
- NONE
You can commit inside a trigger
- Yes, there is a workaround, but not directly
- yes directly
- no
- I dont Know
The keyword IS & AS in Procedure definition
- Both are same
- IS will only work
- AS will only work
- Both cannot be used in procedure definition
Native dynamic sql works faster than dbms_sql
- True
- False
If a procedure that has overloaded procedures is called
- Normal Procedure
- Overloaded Procedure
- Packaged Procedure
- None of these
Which is performance friendly
- VARRAY
- PL/SQL TABLE
- NESTED TABLE
- NONE OF THESE
ascii() function would display the corresponding ASCII code of the string enclosed
- True
- False
In Program overloading, You have two procedures with same name. which of the following will not work
- Having the data type different
- Just interchange the input parameter
- having the name diffferent
- both a & b
CURSOR FOR loop can be opened with the command...
- OPEN
- FETCH
- PARSE
- None, cursor for loops handle cursor opening implicitly
In Oracle 9i, we can specify the FIRING order in which the that are created on a table
- True
- False
procedure to create a customized ERROR message
- RAISE_ERROR
- SQLERRM
- RAISE_APPLICATION_ERROR
- RAISE_SERVER_ERROR
Which of the following is false statement of the package.
- Dependency simplified
- Loaded once into memory , used subsequently
- Privileges to objects cannot be controlled
- Encapsulation of code logic