Hi all,
I have a database - about databases - so what it does is stores all information about the various databases that we run, table names, columns that are linked column sizes, descriptions etc.
I have a System table that links to a MasterTable (table) and then a column table. The column table stores a foreign key and a primary key indicator.
Is there a way to derive relationships by reading through the MasterTable, picking up the Primary key indicator from the Column table, and then checking for foreign keys in other columns that belong to the same system.
I have code that can determine relationships between actual tables in MS Access, but I need to determine the relationships based on the data that is stored.
Thank you
I have a database - about databases - so what it does is stores all information about the various databases that we run, table names, columns that are linked column sizes, descriptions etc.
I have a System table that links to a MasterTable (table) and then a column table. The column table stores a foreign key and a primary key indicator.
Is there a way to derive relationships by reading through the MasterTable, picking up the Primary key indicator from the Column table, and then checking for foreign keys in other columns that belong to the same system.
I have code that can determine relationships between actual tables in MS Access, but I need to determine the relationships based on the data that is stored.
Thank you