Original address https://blog.csdn.net/csd_nuser/article/details/110090486
The goal of this blog is to integrate most commonly used software installation and usage instructions, and technical solutions release. Please continue to pay attention.
grant dba to username ----grant all permissions to the user
grant connect to username ----Give the user permission to connect to the database
grant resoruce to username ----Give the user can only create entities but not the permission to create data structures
grant create session to username ----Give the user the right to log in
grant create table to username ----grant permissions for user table operations
grant unlimited tablespace to username ----grant permissions for user tablespace operations
grant select on table to username ----Give users permission to access the task table. Similarly, update and delete can be given to revoke permissions
The basic syntax is the same as grant, the keyword is revoke
rovoke create table from username ---- cancel the user's permission to view the table operation
select * from user_sys_privs ----View all permissions of the current user
select * from user_tab_privs ---- view the permissions of the user to the table