当前位置:网站首页>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;
边栏推荐
- Data preparation for behavior scorecard modeling
- Select function
- [cloud native topic -49]:kubesphere cloud Governance - operation - step by step deployment of microservice based business applications - basic processes and steps
- JDBC | Chapter 3: SQL precompile and anti injection crud operation
- Jetson XAVIER NX上ResUnet-TensorRT8.2速度與顯存記錄錶(後續不斷補充)
- 【QT】QPushButton创建
- Resunnet - tensorrt8.2 Speed and Display record Sheet on Jetson Xavier NX (continuously supplemented)
- SBT tutorial
- Database schema notes - how to choose the right database in development + who invented relational database?
- Google Earth engine (GEE) - Landsat 9 image full band image download (Beijing as an example)
猜你喜欢

The first of the classic quotations of correspondents is heartbreaking
![[question brushing diary] classic questions of dynamic planning](/img/31/fcd8230f809d6178f11e7095c1ef94.jpg)
[question brushing diary] classic questions of dynamic planning

Internal/validators js:124 throw new ERR_ INVALID_ ARG_ Type (name, 'string', value) -- solution

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

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

Activation function - relu vs sigmoid

Cs5268 perfectly replaces ag9321mcq typec multi in one docking station solution

I drew a Gu ailing with characters!

B-end e-commerce - reverse order process

pytorch 模型保存的完整例子+pytorch 模型保存只保存可訓練參數嗎?是(+解决方案)
随机推荐
Sword finger offer (I) -- handwriting singleton mode
AMD's largest transaction ever, the successful acquisition of Xilinx with us $35billion
The first of the classic quotations of correspondents is heartbreaking
Google Earth engine (GEE) - Landsat 9 image full band image download (Beijing as an example)
Internal/validators js:124 throw new ERR_ INVALID_ ARG_ Type (name, 'string', value) -- solution
【Hot100】22. bracket-generating
How my mother-in-law and daughter-in-law get along
[cloud native topic -50]:kubesphere cloud Governance - operation - step by step deployment of microservice based business applications - database middleware MySQL microservice deployment process
八年测开经验,面试28K公司后,吐血整理出高频面试题和答案
Number of DP schemes
Driverless learning (III): Kalman filter
pytorch 模型保存的完整例子+pytorch 模型保存只保存可訓練參數嗎?是(+解决方案)
笔记本安装TIA博途V17后出现蓝屏的解决办法
Interpretation of some papers published by Tencent multimedia laboratory in 2021
Talk about macromolecule coding theory and Lao Wang's fallacy from the perspective of evolution theory
Redis sentinel cluster working principle and architecture deployment # yyds dry goods inventory #
sense of security
【QT】QPushButton创建
Wu Enda's machine learning mind mapping insists on clocking in for 23 days - building a knowledge context, reviewing, summarizing and replying
Makefile: usage of control functions (error, warning, info)