## **oracle创建用户,并赋予其特定权限** ##
1、cmd进入命令行输入输入【sqlplus /nolog】进入oralce控制台;
2、进入控制台输入【conn / as sysdba】,以管理员权限登录;
3、登录成功输入【create user 用户名 identified by 密码】,创建用户名密码;
4、创建成功,开始授予权限输入【grant create session to 用户名】,授予连接数据库权限。
注:
权限解释:
grant unlimited tablespace to 用户名;//操作表空间权限
grant create table to 用户名;//创建表权限
grante drop table to 用户名;//删除表权限
grant insert table to 用户名;插入表权限
grant update table to 用户名;//更新表权限
。。。。。。(不详细论述了,网上有很全的论述以及解释,可能以后也会补充)
以下是oracle赋予用户查询其数据库表的一些特定权限授予方式:
grant create session to 数据库名;
grant select on product_component_version to 数据库名;
grant select on v_$parameter to 数据库名;
grant select on v_$sgastat to 数据库名;
grant select on v_$sga to 数据库名;
grant select on v_$sysstat to 数据库名;
grant select on v_$pgastat to 数据库名;
grant select on v_$process to 数据库名;
grant select on v_$session to 数据库名;
grant select on v_$instance to 数据库名;
grant select on v_$sesstat to 数据库名;
grant select on v_$statname to 数据库名;
grant select on dba_free_space to 数据库名;
grant select on dba_data_files to 数据库名;
grant select on v_$log to 数据库名;
grant select on v_$logfile to 数据库名;
本文介绍了如何在Oracle数据库中为普通用户授予访问系统表的权限。首先通过sqlplus以sysdba身份登录,然后创建用户并设置密码,接着赋予用户连接数据库、创建会话、以及一系列操作表的权限,如创建、删除、插入和更新等。
1万+

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



