HI ,
My database has a table which is referenced by several other tables. Ie all these other tables have foreign keys pointing to this table. Is it posible for me to find out what all tables are referencing this table ? This is because i am writing scripts for deletion of history data and hence , before deletion, i need to delete all the child records . Ofcourse, doing the cascade delete would appear to be the ideal solution here , but the problem is that QualityAssuarenceGroup has directed me to keep a backup of these deleted records only , so that we have no problems during whatever .
Any solutions ?
My database has a table which is referenced by several other tables. Ie all these other tables have foreign keys pointing to this table. Is it posible for me to find out what all tables are referencing this table ? This is because i am writing scripts for deletion of history data and hence , before deletion, i need to delete all the child records . Ofcourse, doing the cascade delete would appear to be the ideal solution here , but the problem is that QualityAssuarenceGroup has directed me to keep a backup of these deleted records only , so that we have no problems during whatever .
Any solutions ?