在plsql工具中執行以下語句,可建立oracle表空間。
/*分為四步 */
/*第1步:建立臨時表空間 */
create temporary tablespace utms_temp
tempfile 'g:\oracle\oracledata\utms_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
/*第2步:建立資料表空間 */
create tablespace utmsspace
logging
datafile 'g:\oracle\oracledata\utmsspace_data.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
/*第3步:建立使用者並指定表空間 */
create user utms identified by utms
default tablespace utmsspace
temporary tablespace utms_temp;
/*第4步:給使用者授予許可權 */
grant connect,resource,dba to utms;
Oracle建立表空間
建立表空間 create tablespace estate db datafile e estate db.ora size 10m autoextend on 建立臨時表空間 create temporary tablespace estate temp db tempfile e estate...
ORACLE建立表空間
因此,在建立物件之前,首先要分配儲存空間 分配儲存,就要建立表空間 建立表空間示例如下 create tablespace sample logging datafile d oracle oradata ora92 luntan.ora size 5m extent management loca...
oracle建立表空間
sys使用者在cmd下以dba身份登陸 在cmd中打sqlplus nolog 然後再conn as sysdba 注意點 1.如果在pl sql 等工具裡開啟的話,直接修改下面的 中 斜體加粗部分 執行 2.確保路徑存在,比如 d oracle oradata oracle9i 也就是你要儲存檔案...