其他分享
首页 > 其他分享> > 查看表的创建时间和最后一次DDL 的时间

查看表的创建时间和最后一次DDL 的时间

作者:互联网

version : 11.2.0.2

SQL> set line 233 pages 233
SQL> col OBJECT_NAME format a30
SQL> select owner,object_type,object_name,object_id,created,LAST_DDL_TIME,status from dba_objects where object_name in  ('APQD','USH10','CKMI1','VKDFS','VTSP','ADRCOMC')

OWNER			       OBJECT_TYPE	   OBJECT_NAME			   OBJECT_ID CREATED	     LAST_DDL_TIME   STATUS
------------------------------ ------------------- ------------------------------ ---------- --------------- --------------- -------
WNMSAPSR3			       TABLE		   APQD 			       20365 13-OCT-21	     13-OCT-21	     VALID
WNMSAPSR3			       TABLE		   USH10			       31516 13-OCT-21	     13-OCT-21	     VALID
WNMSAPSR3			       TABLE		   CKMI1			       33798 13-OCT-21	     13-OCT-21	     VALID
WNMSAPSR3			       TABLE		   VKDFS			       35008 13-OCT-21	     13-OCT-21	     VALID
WNMSAPSR3			       TABLE		   VTSP 			       36603 13-OCT-21	     13-OCT-21	     VALID
WNMSAPSR3			       TABLE		   ADRCOMC			       75918 13-OCT-21	     13-OCT-21	     VALID

多次DDL 则记录最后一次时间,其实想要搞破坏的话,拿不同的用户多执行几次的话,就很难查到是真正的凶手了

标签:13,21,查看,WNMSAPSR3,VALID,时间,DDL,TABLE,OCT
来源: https://www.cnblogs.com/Miac/p/16361452.html