Oracle 一些工具语句

待续...


select * from user_tables  -- select current user's owned tables
select * from all_tables  -- -- select current user's can be visited tables

select * from v$version; -- select current version
select * from PRODUCT_COMPONENT_VERSION; -- select current version


select user from dual;  -- 查看当前登陆的用户名:

select * from user_users; -- 查看当前登陆的用户名:


select * from user_role_privs; -- 查看当前用户拥有的角色和权限:

select * from session_privs; -- 查看当前用户拥有的角色和权限:

你可能感兴趣的:(Oracle 一些工具语句)