Oracle查询所有用户,查询某个用户下的表

select * from all_tab_comments; //查询所有用户下的所有表,可加入筛选条件,如where。。等

select * from all_tab_comments where owner='用户名‘ ; //查询某个用户下的所有表,注意此处用户名要大写

select * from user_tab_comments; //查询本用户下的表

select 用户名.table_name from user_tables 用户名;

select * from dba_users; //查询所有用户的信息详细信息

友情链接:
Copyright © 2022 86年世界杯_世界杯预选赛阿根廷 - fjyfzz.com All Rights Reserved.