SELECT * FROM session_privs
这个在sqlplus里可以查看当前用户所有权限,

查看是否是dba
select userenv('isdba') from dual;

查看当前schema和user:

select sys_context('userenv','current_user')
as current_user
from dual;

select sys_context('userenv','current_schema')
as current_schema
from dual;

------------------------------------------
oracle版本:

Oracle9i Enterprise Edition Release 9.2.0.1.0-
Production With the Partitioning,OLAP and Oracle Data Mining Options
JServer Release 9.2.0.1.0

相关文章:

  • 2021-10-19
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-09
  • 2022-12-23
  • 2022-02-08
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案