Quote:
|
Originally Posted by dba_udb
Is there a easy way to order the tables, like dependents first so that i can load them first.
|
I would suggest you turn off constraint checking on all loads; and afterwards use the SET INTEGRITY command. See e.g. p.166 of the "Data Movement Utilities" guide, SC23-5847-01.
The tables will be temporarily in "integrity pending" state during these opterations.
Actually, there is a way to find out about dependencies (by checking the catalog), but you could actually have a "chicken and egg" problem where there is a circular dependency. In that case, none op the possible load sequences would work!