RelationalDBDesign
Technology
Search
SiteMap
RedhatLinuxSys
Seomining
Advanced Oracle Tuning
Advanced SQL
Backup Recovery Options
Basic SQL
DB Admin Features
DB Creation Architecture
Extended DB Features
Managing DB Objects
Managing Connectivity
Network Configuration
Oracle BU Features
Oracle DB Recovery
Network Administration
Oracle Network Topology
Oracle SQL Extensions
Oracle SQL Tuning
8i PL/SQL Programming
Performance Tuning
PL/SQL Stored Objects
PL/SQL Programming
Relational DB Analysis
Relational DB Design
Tech Interview Questions
Tuning Oracle Instance
Programming PL/SQL
Querying Oracle Object Tables
Querying Related Object Tables
Querying Nested Tables/Varrays
Object Table Modification
Querying object tables - Quiz
Each question is worth one point. Select the best answer for each question.
1.
l What is the difference between varrays and nested tables?
Please select the best answer.
A.
A varray is an object. A nested table is a relational table.
B.
A varray is an array that can be defined only within PL/SQL. A nested table is a persistent object within the database.
C.
A varray has a predefined set of elements. A nested table can have any number of elements.
D.
A varray can have any number of elements. A nested table has a predefined set of elements.
2.
l If an object table has an object type within another object type, how will you query the object table?
Please select the best answer.
A.
Use a simple
SELECT
statement.
B.
Use dot notation to drill down to the attribute of the object type.
C.
You cannot query such an object table.
D.
Use the
REF
and
VALUE
operators.
3.
l Can you use enumeration types to index collections within Oracle8i?
Please select the best answer.
A.
No, because collections can have only one dimension and you must use integers to index them.
B.
Yes, because collections can have multiple dimensions.
C.
No, because although collections can have multiple dimensions, Oracle8i does not support indexing them by enumeration types.
D.
Yes, because indexing collections within Oracle8i is similar to indexing arrays in Pascal and Ada.
Score =
Correct answers:
Quiz Explanation