Howto deal with foreign keys?
Posted: Fri 24 Sep 2010 11:44
Hi,
it would be a great enhancement, when dbForge for Oracle would support "indirect" support foreign keys.
Example:
I have three tables SRC, TRGT and SRC_TRGT, where SRC_TRGT is a n-m-relation between SRC and TRGT.
SRC and TRGT are configured with unique key column IDENT (varchar2) in addition to the primary key (number).
The comparison in SRC_TRGT should then recognize the foreign key constraints and should compare IDENT of the foreign tables instead of primary key.
it would be a great enhancement, when dbForge for Oracle would support "indirect" support foreign keys.
Example:
I have three tables SRC, TRGT and SRC_TRGT, where SRC_TRGT is a n-m-relation between SRC and TRGT.
SRC and TRGT are configured with unique key column IDENT (varchar2) in addition to the primary key (number).
The comparison in SRC_TRGT should then recognize the foreign key constraints and should compare IDENT of the foreign tables instead of primary key.