查詢test表DML操做的最後時間的語句:class
select max(ora_rowscn),to_char(scn_to_timestamp(max(ora_rowscn)),'yyyy-mm-dd hh24:mi:ss') from test;test
查詢test表DDL操做的最後時間的語句:object
select TO_CHAR(LAST_DDL_TIME,'YYYY-MM-DD HH24:MI:SS') FROM user_objects where object_name='TEST';select