Table Relationships

jeremydevries
Kilo Explorer

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.

1 ACCEPTED SOLUTION

"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


View solution in original post

6 REPLIES 6

Deepak Kumar5
Kilo Sage

You can query on Tables (sys_db_object) and check the Table and Extends table.


find_real_file.png


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.


Hello Jeremy



System definition> tables> select your table


In the related links you should be able to find "Show Schema map"


PFA


Capture.PNGCapture1.PNG



Please mark my response as correct and helpful if it helped solved your question.
-Thanks

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.