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

前端 未结 11 1760
死守一世寂寞
死守一世寂寞 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:55

    I'm really late to this party but here's how I did it:

    SELECT SCN_TO_TIMESTAMP(MAX(ora_rowscn)) from myTable;
    

    It's close enough for my purposes.

提交回复
热议问题