微前端架构如何改变企业的开发模式与效率提升
246
2023-12-07
小编给大家分享一下Oracle如何实现用户维护,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!
用户维护
(1)创建用户
CREATE USER suntx IDENTIFIED BY "suntx"
DEFAULT TABLESPACE "SUNTX"
TEMPORARY TABLESPACE "SUNTX_TEMP"
PROFILE DEFAULT
QUOTA UNLIMITED ON "SUNTX";
(2)给用户赋权
2. 运行以下命令,对用户赋权;
grant execute on dbms_lock to suntx;
grant create any directory to suntx;
GRANT CONNECT TO suntx;
GRANT RESOURCE TO suntx;
create directory DUMP_DIR as /app/sunline/db;
create directory BACKUP_DUMP_DIR as /app1/backup/week/exp
grant read,write on directory DUMP_DIR to suntx;
grant create synonym to suntx;
grant execute on dbms_lock to sunstg;
grant connect to SUNSTG;
grant resource to SUNSTG;
-- Grant/Revoke system privileges
grant create database link to SUNSTG;
grant create procedure to SUNSTG;
grant create sequence to SUNSTG;
grant create table to SUNSTG;
grant create trigger to SUNSTG;
grant create view to SUNSTG;
grant debug any procedure to SUNSTG;
grant debug connect session to SUNSTG;
grant create synonym to suntx;
grant unlimited tablespace to SUNSTG;
以上是“Oracle如何实现用户维护”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注行业资讯频道!
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~