Can I retrieve all the table names and the associated column names where a primary key is linked to a foreign key in another table?
E.g.: I have a table EMPLOYEE
and its primary key is linked to by a foreign key in many other tables, say DEPT
, ACCOUNT
and so on.
Is there a way that I can can get the table and column names of those tables where I have used employee's Primary key as a Foreign Key?