Querying Object Tables
Object Oriented Terms
Collections Varrays Oracle
Querying Nested Tables
Querying Complex SQL Object
SQL Query Example
Using Oracle Objects
Querying Related Tables
Understanding Related Object Tables
Analyzing Dangling References
Writing deref Queries
Oracle deref Syntax
Creating PL/SQL Block
Querying Nested Tables
Flattening nested Table
Flattening nested Table Example
Simple varray Query
Query to Flatten varray
Query Flattens Nested Table
Procedure retrieves Nested Table
Varrays Nested Table Conclusion
Object Table Modification
Insert into Table
SQL Insert Rows
Write SQL to Update Object Table
Subquery in Update
Delete Rows from object Table
DML Statements Conclusion
Updating Rows Example
Modifying Nested Tables
Insert Rows into Nested Table
Delete Command for Nested varray
Updating Varray Rows
inserting Data in Nested Table(Example)
Varray insert Command
Inserting LOB data using SQL*Loader - Exercise
Load data into object tables with the LOB data type.
This AI scored exercise is worth 10 points.
Load data into object tables with the
Review the fact file to find out more information about the House-O-Pets and their Oracle 8i database.
Click on the link below to view the dat a table to see the contents of the tables in the House-O-Pets database.
The purpose of this exercise is to help you understand the relationship between Pet Stores and Large Objects in Oracle
To load data into the object table, you require two main files and one log files. The two main files are a control file (ppot.ctl) and a datafile (ppot.dat). Create a control file to load data into
Create a datafile to load data into
Run SQL*Loader to load data by passing on the following parameters: USERID/password, name for the control file, name of the log file, name of the datafile, and name of the bad file.
USERID = petstore/greatpets
Now answer this....
Please answer the following questions in the text box below to submit your answers to the tutor.
1. What is the requirement of a .ctl file?
2. What is the prerequisite process before loading data into LOBs using SQL*Loader?
Submitting your exercise
Type (or cut and paste) your plan into the box below to submit your answers to a tutor. Click the
button when finished to submit the exercise. Remember to submit all of your answers at once.