|< < 32 > >|

Foreign keys and updates

CASCADE update

update P set p_id = 5 where p_id = 3;

P
p_id x
1123
2456
3789
4111
F
f_id p_id y
10011999
10021888
20012777
30013666
30023555
30033444
P
p_id x
1123
2456
4111
5789
F
f_id p_id y
10011999
10021888
20012777
30015666
30025555
30035444

|< < 32 > >|