- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 12:22 PM
Is there another way to see the relationships between all tables other than looking at the schema?
In other words, I would like to be able to determine all the referencing tables and referenced by tables of a table from within a script, and then take appropriate action within the script.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 12:49 PM
"Dictionary Entries" may help here.
First get list of all field (tables) having type reference.
Then check the reference table and again from Dictionary Entries get the column name of that references table whose Display = true

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 12:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 12:37 PM
Thanks for the reply Deepak, but unfortunately that doesn't help me determine the "referencing tables and referenced by tables". It only defines the parent table that the table is extending. I need to find all of the tables that a column on the table references and all the tables that have a collumn that references the given table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 12:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 12:50 PM
Thank you for your response, but if you read my original question, I'm looking for a way that is not looking at the schema map. The schema map does not allow me access to the data I need via a script.