I'm desiging a database rebuild utiltiy. I'm needing for each table to be rebuilt accoring to their referential integrity settings i.e. If table 1 has a foreign key constraint on table 2, then table 2 must be rebuilt first.
I'm working on a one click solution, what I need to find out is what are the referential constraints on each table. I know I can do this by simply opening the table up and viewing them, but I'm looking for something more programatic and automatic. It would be ideal if I could create a temporary list of tables in order of their referential constraints to rebuild the database.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.