Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

complete parent and child for all the tables in the schema - tree

ora_1978Dec 19 2019 — edited Dec 19 2019

My requirement is to truncate the data in say 200  tables and copy data from production to lower environment. We have the truncate and insert script for that . But we are struggling to find the tree like structure. For a given 200 tables we need a order of tables for inserting the data without any constraint violation and not disabling the constraints.

Please provide us the query or links to get the answer for this.

Comments
Post Details
Added on Dec 19 2019
3 comments
344 views