oracle 給 scott 使用者授權 建立表空間

2021-07-13 11:07:13 字數 373 閱讀 9618

使用sys使用者登陸

--授權

grant dba to scott;

--建立好後收回許可權

revoke dba from scott

建立表空間命令

create tablespace xx

logging 

datafile 'd:\oracle\oradata\orcl\xx.dbf'

size 1024m

autoextend on 

next 1024m maxsize 2048m

extent management local;

如果要刪除「表空間」 先用plsql developer 刪除,後再到本地去刪除檔案,順序錯就出問題

在Oracle中給scott使用者解鎖

error the account is locked 學習 oracle 一般 scott 使用者 預設密碼為tiger 登入。scott 使用者被鎖定,可能是下面幾個原因。1.嘗試多次登入未成功 可能密碼不正確 2.此使用者被管理員手工鎖定 3.使用者密碼到期 未按時修改密碼,等等。解決方法 用...

oracle 給 scott 使用者授權 建立表空間

使用sys使用者登陸 授權 grant dba to scott 建立好後收回許可權 revoke dba from scott 建立表空間命令 create tablespace xx logging datafile d oracle oradata orcl xx.dbf size 1024m...

Oracle10g 給scott使用者解鎖

conn scott tiger error oracle10g the account is locked oracle10g the password has expired 原因 預設oracle10g的scott不能登陸。被禁用了。解決方法 1 以dba的身份登入 conn sys pass...