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

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

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

發布時間:2023/12/19 综合教程 28 生活家
生活随笔 收集整理的這篇文章主要介紹了 Oracle如何创建普通用户并赋予权限 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

這篇文章給大家分享的是有關Oracle如何創建普通用戶并賦予權限的內容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。

Oracle 創建普通用戶,并賦予權限

1) 采用sys or system / manager as sysdba; 連接數據庫。

2) 創建普通用戶peng: create user peng identified by pwd_oracle;

刪除用戶, drop user peng;

3) 授予用戶登錄數據庫的權限: grant create session to peng;

4) 授予用戶操作表空間的權限:

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) 授予用戶操作表的權限:

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

6) 授予用戶操作視圖的權限:

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

7) 授予用戶操作觸發器的權限:

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

8) 授予用戶操作存儲過程的權限:

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

9) 授予用戶操作序列的權限:

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

10) 授予用戶回退段權限:

grant create rollback segment to peng;

grant alter rollback segment to peng;

grant drop rollback segment to peng;

11) 授予用戶同義詞權限:

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

grant create public synonym to peng;

grant drop public synonym to peng;

12) 授予用戶關于用戶的權限:

grant create user to peng;

grant alter user to peng;

grant become user to peng;

grant drop user to peng;

13) 授予用戶關于角色的權限:

grant create role to peng;

14) 授予用戶操作概要文件的權限

grant create profile to peng;

grant alter profile to peng;

grant drop profile to peng;

15) 允許從sys用戶所擁有的數據字典表中進行選擇

grant select any dictionary to peng;

總結

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

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。