1.Ctrl+Q,進入查詢,建立表空間。ide
輸入create tablespace test datafile 'D:\Oracle\test.ora' size 1000m;spa
這裏的test爲表空間名稱,路徑本身來命名。而後點執行按鈕。table
2. 執行成功後,繼續建立用戶。test
輸入create user USER_TEST identified by test default tablespace test quota 500m on users; 登錄
這裏USER_TEST爲用戶名,第一個test爲密碼,第二個test爲表空間名。而後執行。file
3. 成功建立用戶後,進行受權。密碼
輸入grant all privileges to USER_TEST;命名
執行該語句給USER_TEST用戶受權,此時USER_TEST用戶就能夠登陸了。查詢