Sorting DB tables from least dependent to most dependent

Posted by Sergey Mikhanov on Stack Overflow See other posts from Stack Overflow or by Sergey Mikhanov
Published on 2010-05-28T09:04:14Z Indexed on 2010/05/29 18:02 UTC
Read the original article Hit count: 324

Filed under:
|
|

Hi community,

I'm performing a data migration and the database I'm using only allows to export and import each table separately. In such a setup importing becomes a problem since the order in which tables are imported is important (you have to import referenced tables before referencing ones).

Is there any external tool that allows me to list the database tables sorted from least dependent to most dependent?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about database

Related posts about migration