当前位置:网站首页>Common authority query instructions in Oracle
Common authority query instructions in Oracle
2022-07-02 20:54:00 【Rigo, the community sends warmth】
Introduce :
-- Permissions are divided into system permissions and object permissions , A role is a collection of permissions . System permission is right Oracle Operation permission of , If connected , to grant authorization , establish create. Object permission is the operation permission of an object , Such as query . to update , Delete delete etc. .
-- View all users in the system , Both instructions work
select * from dba_users;
select * from all_users;
-- View the current user
select * from user_users;
-- View the roles of the current user
select * from user_role_privs;
-- Check the roles in the system
select * from dba_roles;
-- Check the roles of all users in the system
select * from dba_role_privs;
-- View with sysdba、sysoper、sysasm Users of roles
select * from v$pwfile_users;
-- Check what permissions each role has
select * from role_sys_privs where role='DBA';
-- View the permissions of the current user
select * from dba_sys_privs where grantee='SYS';
-- View the permissions of the current user in different objects ,grantee Fields represent objects , An object is a specific data table or database or a stored procedure , Both instructions can be used
select * from dba_tab_privs;
select * from all_tab_privs;
边栏推荐
- In depth understanding of modern web browsers (I)
- Codeforces round 651 (Div. 2) (a thinking, B thinking, C game, D dichotomy, e thinking)
- Properties of expectation and variance
- burp 安装 license key not recognized
- JASMINER X4 1U deep disassembly reveals the secret behind high efficiency and power saving
- Number of DP schemes
- Interpretation of some papers published by Tencent multimedia laboratory in 2021
- Cron expression (seven subexpressions)
- [871. Minimum refueling times]
- Send blessings on Lantern Festival | limited edition red envelope cover of audio and video is released!
猜你喜欢

6 pyspark Library

八年测开经验,面试28K公司后,吐血整理出高频面试题和答案

ROS learning (10): ROS records multiple topic scripts

JASMINER X4 1U deep disassembly reveals the secret behind high efficiency and power saving

Why do I have a passion for process?

Basic concept of database, installation and configuration of database, basic use of MySQL, operation of database in the project

Burp install license key not recognized

【每日一题】241. 为运算表达式设计优先级

Codeforces round 651 (Div. 2) (a thinking, B thinking, C game, D dichotomy, e thinking)

Interested parties add me for private chat
随机推荐
sense of security
The metamask method is used to obtain account information
Cron expression (seven subexpressions)
疫情封控65天,我的居家办公心得分享 | 社区征文
Postman interface test practice, these five questions you must know
1005 spell it right (20 points) "PTA class a exercise"
Write the content into the picture with type or echo and view it with WinHex
How to realize the function of detecting browser type in Web System
[871. Minimum refueling times]
面试经验总结,为你的offer保驾护航,满满的知识点
Redis sentinel cluster working principle and architecture deployment # yyds dry goods inventory #
Attack and defense world PWN question: Echo
Research Report on the overall scale, major manufacturers, major regions, products and applications of micro hydraulic cylinders in the global market in 2022
2021 software security report: open source code, happiness and disaster depend on each other?
Internal/validators js:124 throw new ERR_ INVALID_ ARG_ Type (name, 'string', value) -- solution
外包干了三年,废了...
BitSet complement
At compilation environment setup -win
I drew a Gu ailing with characters!
八年测开经验,面试28K公司后,吐血整理出高频面试题和答案