I have a database structure, which two tables A & B.
A contains few columns including a column BiD as a foreign key reference to the primary key of table B.
Issue is however columns are defined but FK constraints are not present. So I am looking for a way to generate these constraints through some automated method as the real database I am dealing with has over hundred tables.
My database is in Oracle 11g and I also have its ERD model available in Enterprise Architect. Solution in any of these would work. Please suggest if there is any such possibility.