oracle创建用户需要什么权限,Oracle 创建普通用户,并赋予权限
采用sys or system / manager assysdba; 連接數(shù)據(jù)庫。
創(chuàng)建普通用戶konglin: create user konglin identified by pwd_oracle;
刪除用戶, drop user konglin;
授予用戶登錄數(shù)據(jù)庫的權(quán)限: grant create session to konglin;
授予用戶操作表空間的權(quán)限:
grant unlimited tablespace to konglin;
grant create tablespace to konglin;
grant alter tablespace to konglin;
grant drop tablespace to konglin;
grant manage tablespace to konglin;
授予用戶操作表的權(quán)限:
grant create table to konglin; (包含有create index權(quán)限, alter table, drop table權(quán)限)
授予用戶操作視圖的權(quán)限:
grant create view to konglin; (包含有alter view, drop view權(quán)限)
授予用戶操作觸發(fā)器的權(quán)限:
grant create trigger to konglin; (包含有alter trigger, drop trigger權(quán)限)
授予用戶操作存儲(chǔ)過程的權(quán)限:
grant create procedure to konglin;(包含有alter procedure, drop procedure 和function 以及 package權(quán)限)
授予用戶操作序列的權(quán)限:
grant create sequence to konglin; (包含有創(chuàng)建、修改、刪除以及選擇序列)
授予用戶回退段權(quán)限:
grant create rollback segment to konglin;
grant alter rollback segment to konglin;
grant drop rollback segment to konglin;
授予用戶同義詞權(quán)限:
grant create synonym to konglin;(包含drop synonym權(quán)限)
grant createpublicsynonym to konglin;
grant droppublicsynonym to konglin;
授予用戶關(guān)于用戶的權(quán)限:
grant create user to konglin;
grant alter user to konglin;
grant become user to konglin;
grant drop user to konglin;
授予用戶關(guān)于角色的權(quán)限:
grant create role to konglin;
授予用戶操作概要文件的權(quán)限
grant create profile to konglin;
grant alter profile to konglin;
grant drop profile to konglin;
允許從sys用戶所擁有的數(shù)據(jù)字典表中進(jìn)行選擇
grantselectany dictionary to konglin;
轉(zhuǎn)自:http://hi.baidu.com/0316long/item/92eaf1c6862952d69744523b
總結(jié)
以上是生活随笔為你收集整理的oracle创建用户需要什么权限,Oracle 创建普通用户,并赋予权限的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: oracle11g ora 29927,
- 下一篇: 数字图像处理matlab实验对图像复原,