日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪(fǎng)問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 综合教程 >内容正文

综合教程

Oracle如何创建普通用户并赋予权限

發(fā)布時(shí)間:2023/12/19 综合教程 37 生活家
生活随笔 收集整理的這篇文章主要介紹了 Oracle如何创建普通用户并赋予权限 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

這篇文章給大家分享的是有關(guān)Oracle如何創(chuàng)建普通用戶(hù)并賦予權(quán)限的內(nèi)容。小編覺(jué)得挺實(shí)用的,因此分享給大家做個(gè)參考,一起跟隨小編過(guò)來(lái)看看吧。

Oracle 創(chuàng)建普通用戶(hù),并賦予權(quán)限

1) 采用sys or system / manager as sysdba; 連接數(shù)據(jù)庫(kù)。

2) 創(chuàng)建普通用戶(hù)peng: create user peng identified by pwd_oracle;

刪除用戶(hù), drop user peng;

3) 授予用戶(hù)登錄數(shù)據(jù)庫(kù)的權(quán)限: grant create session to peng;

4) 授予用戶(hù)操作表空間的權(quán)限:

grant unlimited tablespace to peng;

grant create tablespace to peng;

grant alter tablespace to peng;

grant drop tablespace to peng;

grant manage tablespace to peng;

5) 授予用戶(hù)操作表的權(quán)限:

grant create table to peng; (包含有create index權(quán)限, alter table, drop table權(quán)限)

6) 授予用戶(hù)操作視圖的權(quán)限:

grant create view to peng; (包含有alter view, drop view權(quán)限)

7) 授予用戶(hù)操作觸發(fā)器的權(quán)限:

grant create trigger to peng; (包含有alter trigger, drop trigger權(quán)限)

8) 授予用戶(hù)操作存儲(chǔ)過(guò)程的權(quán)限:

grant create procedure to peng;(包含有alter procedure, drop procedure 和function 以及 package權(quán)限)

9) 授予用戶(hù)操作序列的權(quán)限:

grant create sequence to peng; (包含有創(chuàng)建、修改、刪除以及選擇序列)

10) 授予用戶(hù)回退段權(quán)限:

grant create rollback segment to peng;

grant alter rollback segment to peng;

grant drop rollback segment to peng;

11) 授予用戶(hù)同義詞權(quán)限:

grant create synonym to peng;(包含drop synonym權(quán)限)

grant create public synonym to peng;

grant drop public synonym to peng;

12) 授予用戶(hù)關(guān)于用戶(hù)的權(quán)限:

grant create user to peng;

grant alter user to peng;

grant become user to peng;

grant drop user to peng;

13) 授予用戶(hù)關(guān)于角色的權(quán)限:

grant create role to peng;

14) 授予用戶(hù)操作概要文件的權(quán)限

grant create profile to peng;

grant alter profile to peng;

grant drop profile to peng;

15) 允許從sys用戶(hù)所擁有的數(shù)據(jù)字典表中進(jìn)行選擇

grant select any dictionary to peng;

總結(jié)

以上是生活随笔為你收集整理的Oracle如何创建普通用户并赋予权限的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。