Inserting Records to Object Tables:
Inserting records onto object tables can be completed in two ways: either by using the constructor method or by a normal insertion. The subsequent example inserts records in both ways:
1. Insertion using Constructor Method
INSERT INTO deptab VALUES(dep_type(10,'sales','chennai'));
2. A Relational way of Insertion
INSERT INTO deptab VALUES (20,'Purchase','Bangalore');