Oracle11g建立表空間語句

2022-02-10 13:39:05 字數 1187 閱讀 3379

在plsql工具中執行以下語句,可建立oracle表空間。

/*分為四步 */

/*第1步:建立臨時表空間  */

create temporary tablespace yuhang_temp

tempfile 'd:\oracledata\yuhang_temp.dbf'

size 50m

autoextend on

next 50m maxsize 20480m

extent management local;

/*第2步:建立資料表空間  */

create tablespace yuhang_data

logging

datafile 'd:\oracledata\yuhang_data.dbf'

size 50m

autoextend on

next 50m maxsize 20480m

extent management local;

/*第3步:建立使用者並指定表空間  */

create user yuhang identified by yuhang

default tablespace yuhang_data

temporary tablespace yuhang_temp;

/*第4步:給使用者授予許可權  */

grant connect,resource,dba to yuhang;

內容**於網路,

Oracle11g建立表空間語句

在plsql工具中執行以下語句,可建立oracle表空間。分為四步 第1步 建立臨時表空間 create temporary tablespace yuhang temp tempfile d oracledata yuhang temp.dbf size 50m autoextend on nex...

Oracle11g建立表空間語句

在plsql工具中執行以下語句,可建立oracle表空間。分為四步 第1步 建立臨時表空間 create temporary tablespace yuhang temp tempfile d oracledata yuhang temp.dbf size 50m autoextend on nex...

Oracle11g建立表空間語句

在plsql工具中執行以下語句,可建立oracle表空間。分為四步 第1步 建立臨時表空間 create temporary tablespace yuhang temp tempfile d oracledata yuhang temp.dbf size 50m autoextend on nex...