Hi....
You can insert into an object table using VALUES(...) and the default constructor for the objects.
DECLARE
CURSOR another_table.....;
BEGIN
FOR record IN another_table LOOP
INSERT INTO customer
VALUES( record.id
, person_ty( record.name
...
Hi....
DBMS_UTILITY.COMPILE_SCHEMA (schema VARCHAR2);
will recompile the schema.
See... http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/appdev.817/a76936/dbms_ut2.htm#1002085
Hope this helps. Good luck.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.