当前位置:网站首页>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;
边栏推荐
- Codeforces round 651 (Div. 2) (a thinking, B thinking, C game, D dichotomy, e thinking)
- [error record] the command line creates an error pub get failed (server unavailable) -- attempting retry 1 in 1 second
- This team with billions of data access and open source dreams is waiting for you to join
- Cron表达式(七子表达式)
- How to do interface testing? After reading this article, it will be clear
- Web3js method to obtain account information and balance
- When Valentine's Day falls on Monday
- [kubernetes series] comparison of space and memory usage before and after kubedm reset initialization
- 在网上炒股开户安全吗?我是新手,还请指导
- 7. Build native development environment
猜你喜欢

I did a craniotomy experiment: talk about macromolecule coding theory and Lao Wang's fallacy from corpus callosum and frontal leukotomy

【QT】QPushButton创建

How to realize the function of detecting browser type in Web System

Postman接口测试实战,这5个问题你一定要知道

Summary of interview experience, escort your offer, full of knowledge points

The first of the classic quotations of correspondents is heartbreaking

笔记本安装TIA博途V17后出现蓝屏的解决办法

Web3js method to obtain account information and balance

pytorch 模型保存的完整例子+pytorch 模型保存只保存可训练参数吗?是(+解决方案)

Exemple complet d'enregistrement du modèle pytoch + enregistrement du modèle pytoch seuls les paramètres d'entraînement sont - ils enregistrés? Oui (+ Solution)
随机推荐
Second hand housing data analysis and prediction system
功能、作用、效能、功用、效用、功效
Summary of interview experience, escort your offer, full of knowledge points
In depth understanding of modern web browsers (I)
现在券商的优惠开户政策什么?实际上网上开户安全么?
[871. Minimum refueling times]
Is it safe to buy funds on securities accounts? Where can I buy funds
7. Build native development environment
How to do interface testing? After reading this article, it will be clear
Burp install license key not recognized
Google Earth Engine(GEE)——Landsat 9影像全波段影像下载(北京市为例)
JDBC | Chapter 4: transaction commit and rollback
Data preparation for behavior scorecard modeling
Resunet tensorrt8.2 speed and video memory record table on Jetson Xavier NX (continuously supplemented later)
【Hot100】23. Merge K ascending linked lists
想请教一下,我在东莞,到哪里开户比较好?手机开户是安全么?
[internship] solve the problem of too long request parameters
Solution to blue screen after installing TIA botu V17 in notebook
[QT] QPushButton creation
After eight years of test experience and interview with 28K company, hematemesis sorted out high-frequency interview questions and answers