1
创建用户
create user userName identified by password;
创建用户 userName,密码为 password
2
给用户授权
grant dba to j; --授予DBA权限
grant unlimited tablespace to userName;--授予不限制的表空间
grant unlimited tablespace to jlt;
grant select any table to userName; --授予查询任何表
grant select any table to jlt;
grant select any dictionary to userName;--授予 查询 任何字典
grant select any dictionary to jlt;
本文介绍如何在 Oracle 数据库中创建用户并授予 DBA 和其他关键权限,包括不限制的表空间、查询任何表及字典的权限。

被折叠的 条评论
为什么被折叠?



