oracle11g從建表空間到匯入資料

2021-06-17 19:54:10 字數 442 閱讀 8912

/*建立表空間*/create tablespace sxdatafile 'd:\oracle11\sx.dmp'size 10m autoextend on;sx 為表空間名稱d:\oracle11\sx.dmp 為表空間存放位址

/*建立使用者*/create user sx identified by zxdefault tablespace sxtemporary tablespace temp;第乙個sx是使用者名稱 zx 是密碼第二個sx是表空間名

/*給使用者分配角色*/grant connect,resource to sx;

oracel11g匯入在命令列1、cmd2、sqlplus /nolog3、conn /as sysdba4、grant dba,resource,connect to sxzdsas5、imp sx/zx@orcl file=d:\11.dmp full=ysx是使用者名稱,zx是密碼

Oracle11g表空間1 建立表空間

a.表空間是oracle資料庫中最大的邏輯儲存結構,它與作業系統中的資料檔案向對應,用於儲存資料庫中使用者建立的所有內容。b.在oracle中,表空間可以分為基本表空間 臨時表空間 大檔案表空間 非標準資料塊表空間以及撤銷表空間等。c.基本表空間一般是指使用者使用的永久性表空間,用於儲存使用者的永久...

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...