Oricle中SQL语法

查询某用户下所有的表名:

select table_name from user_tables;                当前用户下可查

select count(*) from dba_tables where owner='用户名';   dba权限下可查      

select * from all_tables where owner='saas';          dba权限下可查

*     dba权限是oracle用户的最大权;

      表名以及各详细内容可以通过desc dba_tables、desc user_tables、desc all_tables查看相应字段,再查询相应内容

参考资料:https://blog.csdn.net/u013986802/article/details/72285901

原文地址:https://www.cnblogs.com/angelboys/p/9991750.html