I’m doing some FK analysis of our tables by making a directed graph representing FK dependencies and then traversing the graph. In my code, I name everything using directed graph terminology, but I’d like to have something a bit more ‘user friendly’ in the report.
In this scenario:
create table t1(a varchar2(20)); alter table t1 add constraint t1_fk foreign key(a) references t2(b);
t1.a must exist in t2.b. So, what words should I use in the blanks?
t1 is the _______ of t2. t2 is the _______ of t1.
Many TIA!
I’d say (things between brackets are optional, but I’d use them)
and
?
I’d also specify the action that happens on delete/update if any.