foreign key constraint violation
Hi ,
I prepared merge statements for 200 tables .All there statemnts has to run on target server .It will fetch data using database link from source database and merge in target database .But while executing it is showing foreign key constraint violated on target server . What I came to know all the tables has to be in order of child table and master table.Now how I will keep in proper order of 200 tables to avoid foreign key constraint violation error , how I will find the proper order tables from database . Is there any sql for this ? Kindly help on this.