• Does somebody perhaps have the code for an dependence tree for all tables in the database.

    ie Level 1 all tables with no dependencies, Level 2 all tables that depend on Level 1 and so on..

    I can probably write it myself, but I have a time constraint, need to move data from one db to another and do some key conversions in between. So my order of processing the tables must be right.