Oracle查询
作者:互联网
oracle查询表在哪个用户下
表名必须大写
select owner from dba_tables where table_name='表名';
oracle 查询表属于哪个表空间
表名必须大写
select tablespace_name,table_name from user_tables where table_name='xxx';
Oracle中查看最近被修改过的表
select uat.table_name as 表名,(select last_ddl_time from user_objects where object_name = uat.table_name ) as 最后修改日期
from user_all_tables uat order by (select last_ddl_time from user_objects where object_name = uat.table_name ) desc
标签:name,uat,查询,user,表名,Oracle,table,select 来源: https://www.cnblogs.com/fxcoding/p/15505900.html