Subject | Listing Table of Database in Order of Dependency |
---|---|
Author | LtColRDSChauhan |
Post date | 2016-03-25T10:36:32Z |
Hi,
How can i list tables of a database in order of dependency ie
TABLE_1 (no foreign key references)
TABLE_2 (foreign key references, if any, in TABLE_1 )
TABLE_3 (foreign key references, if any, in TABLE_1 / TABLE_2 )
TABLE_4 (foreign key references, if any, in TABLE_1 / TABLE_2 / TABLE_3)
....
Thanks and Regards,
Rajiv