課程
/數(shù)據(jù)庫
/Oracle
/Oracle數(shù)據(jù)庫開發(fā)必備利器之SQL基礎
創(chuàng)建數(shù)據(jù)庫用戶 并且富裕權限
2019-03-09
源自:Oracle數(shù)據(jù)庫開發(fā)必備利器之SQL基礎 4-1
正在回答
conn?sys/密碼?as?sysdba; create?user?用戶?identified?by?密碼; grant?create?session?to?用戶; grant?unlimited?tablespace?to?用戶;
使用最高權限的sys用戶登錄數(shù)據(jù)庫:conn sys/密碼 as sysdba;
創(chuàng)建數(shù)據(jù)庫用戶,例如此處創(chuàng)建一個test用戶,登錄密碼自定義:create user ?test identified by ?密碼;
授權,授予test用戶連接數(shù)據(jù)庫的權限:grant create session to test;
授權,給test用戶授操作表空間的權限:grant ?unlimited tablespace to ?test;
舉報
為你帶來Oracle開發(fā)必備的sql基礎,為后續(xù)課程學習打下好的基礎
1 回答oracle數(shù)據(jù)庫在sql plus中怎么創(chuàng)建觸發(fā)器?
3 回答創(chuàng)建表空間與創(chuàng)建用戶有什么區(qū)別?
1 回答數(shù)據(jù)庫實例與數(shù)據(jù)庫
1 回答我怎么查不到這個用戶的數(shù)據(jù)呢???求指點
2 回答oracle數(shù)據(jù)庫
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關注慕課網(wǎng)微信公眾號
2020-04-15
2019-03-11
使用最高權限的sys用戶登錄數(shù)據(jù)庫:conn sys/密碼 as sysdba;
創(chuàng)建數(shù)據(jù)庫用戶,例如此處創(chuàng)建一個test用戶,登錄密碼自定義:create user ?test identified by ?密碼;
授權,授予test用戶連接數(shù)據(jù)庫的權限:grant create session to test;
授權,給test用戶授操作表空間的權限:grant ?unlimited tablespace to ?test;