0

是否有一种有效的方法可以使用触发器来识别 Oracle 表中的哪一列发生了变化?如何检查是否只有一列(感兴趣的)或所有其他列也发生了变化?

4

1 回答 1

2

As the post Alex Pole pointed in your comments states, you could use the UPDATING function.

But you can also develop different triggers for updating specific columns with "BEFORE UPDATE OF" clause, witch is the optimal option if there is no code to share among the actions for the involved columns.

于 2013-04-07T09:08:10.153 回答