I have two tables, t1(foo)
and t2(bar)
, and a trigger on update t2.bar
that updates t1.foo
to something else.
At first I thought of just prohibiting any updates on t1
by using a trigger before update on t1.foo
that always throws an exception. However, wouldn't that also block changes from the first trigger?
How do I do this?