Giving users execute stored procedures and permissions to create an Oracle database table

 

grant create any table to username;
grant create any procedure to username; 
grant execute any procedure to username;

 

JOB creation execute permissions:

grant create job to the user; 
Grant to the Manage Scheduler user;

 

Read permission to a table:

Grant the SELECT ON table name to the user name;

 

Delete permission to modify (alter truncate have permission):

GRANT SELECT,INSERT,UPDATE,DELETE
GRANT SELECT,INSERT,UPDATE,DELETE,alter

 

Delete Read permissions on all tables:

REVOKE the SELECT the any user name from the Table;

 

Given permission to create tables:

grant resource to common_user

-- grant create table to common_user
-- grant select any table to common_user;

 

Get all the tables under a user:

select 'grant select on '|| tname ||' to  用户名;' from tab
where tname not like 'BIN%';

 

 

Excerpt: https://www.cnblogs.com/linn/p/4229338.html

Guess you like

Origin www.cnblogs.com/morgan363/p/12153585.html