Oracle-查看用户对象信息

--视图(可查看拥有者、对象名称、创建时间、上次修改时间)
SELECT t.OBJECT_NAME, t.CREATED, t.LAST_DDL_TIME FROM user_objects t order by t.LAST_DDL_TIME desc;
SELECT t.OWNER, t.OBJECT_NAME, t.CREATED, t.LAST_DDL_TIME FROM all_objects t;
SELECT t.OWNER, t.OBJECT_NAME, t.CREATED, t.LAST_DDL_TIME FROM dba_objects t;
--查看最近修改对象
SELECT t.OBJECT_NAME,t.OBJECT_TYPE,t.CREATED,t.LAST_DDL_TIME FROM user_objects t 
WHERE T.OBJECT_TYPE IN('TABLE','SEQUENCE','TRIGGER','PROCEDURE')
order by t.LAST_DDL_TIME desc;

 

posted @ 2016-08-23 08:50  伍叶春  阅读(2620)  评论(0编辑  收藏  举报