I have a requirement to update values in a number of tables supporting the NAV application. However without any formal foreign key relationships at the database level, I'm struggling to determine the child tables which also need to be updated at the same time. I've seen postings where this information can be obtained through the application but since that information must be stored somewhere in the database, is there a way to obtain the mapping programmatically? I don't need anything clever simply:
- parent table, parent column, child table, child column
- parent table, parent column, child table, child column_1
- etc.
Is there a query available to obtain this information?
Many thanks.

Report
All responses (
Answers (