Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Find a SQL script to locate table constraint dependancies
Hi,
We would like to refresh data from our Production database to our Test database. Some tables will require to be truncated and then loaded. My question is, does anyone have a SQL script that would determine the sequence to truncate all related tables based on constraint dependancies.
TIA Sylvan Creach, Database Administrator sc00802_at_po1.cobe.com Cobe Laboratories, Inc.
(303)239-2206 1185 Oak St Platforms: HP-UX 9.04 (UNIX) Lakewood, CO 80215-4407 USA OSF1 3.2(UNIX)