ORACLE查询表修改时间

1、select uat.table_name from user_all_tables uat 该SQL可以获得所有用户表的名称 
2、select object_name, created,last_ddl_time from user_objects 该SQL可以获得所有用户对象(包括表)的创建和最后修改时间 
select uat.table_name as 表名,(select last_ddl_time from user_objects where object_name = uat.table_name ) as 最后修改日期 
from user_all_tables uat 

猜你喜欢

转载自ligaosong.iteye.com/blog/2329649
今日推荐