查詢test表DML操作的最后時間的陳述句:
select max(ora_rowscn),to_char(scn_to_timestamp(max(ora_rowscn)),'yyyy-mm-dd hh24:mi:ss') from test;
查詢test表DDL操作的最后時間的陳述句:
select TO_CHAR(LAST_DDL_TIME,'YYYY-MM-DD HH24:MI:SS') FROM user_objects where object_name='TEST';
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/97541.html
標籤:Oracle
上一篇:Mysql 索引
