How to find out when an Oracle table was updated the last time

前端 未结 11 1766
死守一世寂寞
死守一世寂寞 2020-11-28 05:14

Can I find out when the last INSERT, UPDATE or DELETE statement was performed on a table in an Oracle database and if so, how?

A little background: The Oracle versio

11条回答
  •  执念已碎
    2020-11-28 05:39

    You would need to add a trigger on insert, update, delete that sets a value in another table to sysdate.

    When you run application, it would read the value and save it somewhere so that the next time it is run it has a reference to compare.

    Would you consider that "Special Admin Stuff"?

    It would be better to describe what you're actually doing so you get clearer answers.

提交回复
热议问题