建立表空間,使用者

2021-06-06 19:00:31 字數 670 閱讀 2905

使用

pl/sql

連線到遠端資料庫,執行以下命令: 1

,建表空間

create tablespace "

map2"#

表空間表稱

logging

datafile 'd:\oracle\oradata\map\

map2

.ora' size 100m

#存放路徑和大小

extent management local segment space managementauto

2,建軍表使用者

create user "

map2

"profile "default"

#使用者名稱

identified by "123456" default tablespace "

******"#

密碼 temporary tablespace "temp"

#臨時目錄

account unlock;

grant "connect" to "

map2

" with admin option;

#授權許可權

grant "dba" to "

map2

" with admin option;

#新建使用者許可權

使用者,表空間建立

建表空間 create tablespace 表空間名 logging datafile 絕對路徑 oracle oradata 檔名.dbf size 大小 m autoextend on next 32m maxsize 2048m extent management local 32m 表空間...

oracle建立表空間,建立使用者

建立臨時表空間 create temporary tablespace test temp tempfile e oracle product 10.2.0 oradata testserver test temp01.dbf size 32m autoextend on next 32m maxs...

建立表空間語句 建立使用者

1 建立表空間 create tablespace yyy nologging datafile c yyy.dbf size 50m autoextend on next 50m maxsize 1024m extent management local datafile 是關鍵字,用於指定資料檔...