--创建表空间“test9i”:
 create tablespace test9i datafile 'test9i.ora' size 2000M;
 alter tablespace test9i add datafile 'test9i1.ora' size 2000M;
 
--创建临时表空间“test9i_temp”:
 create temporary tablespace test9i_temp tempfile 'test9i_temp.ora' size 1000M;--创建用户“test9i”
 create user test9i identified by test9i 
 default tablespace test9i 
 temporary tablespace test9i_temp 
 quota unlimited on test9i;--为用户“test9i”赋权限
 grant connect,resource to test9i with admin option;

解决方案 »

  1.   

    还用不用创建回滚段,创建回滚段的脚本可以举个例子给俺啊?
    没用过oracle9i,大虾们多教教啊
      

  2.   

    还用不用创建回滚段,创建回滚段的脚本可以举个例子给俺啊?
    没用过oracle9i,大虾们多教教啊
      

  3.   

    创建表空间要求:(10g)
    1. 要指定表空间名;
    2. 指定和表空间物理对应的数据文件及属性;
    3. 指定区的管理参数;
    4. 指定段的管理参数;
    5. 指定其他属性
          logging / nologging 
          Permanent / Temporary 等创建表空间语法:
    Create tablespace 表空间名
        datafile ‘文件全名’  [size 数字K/M] [AUTOEXTEND ON
                                                          NEXT 数字k/m MAXSIZE 数字k/m ]
         [Extent Management local / dictionary] 
           [Uniform size ..k/m] [Autoallocate]  [default storage]
         [Segment Space Management Auto/manual]
         [logging | nologging]
         [Permanent | Temporary]
         [Online  | Offline]创建表空间举例:Create tablespace tablespace_name
               datafile ‘filename’ 
                size  10m autoextend on next 2m
               extent management local uniform size 3m autoallocate
               segment space management auto
               logging
               permanent 
               online 
      

  4.   

    CREATE TABLESPACE "tablespacename" 
        LOGGING 
        DATAFILE 'D:\oracle\data\JBXX.ORA' SIZE 10M EXTENT MANAGEMENT 
        LOCAL SEGMENT SPACE MANAGEMENT  AUTO; 
    ALTER DATABASE 
        DATAFILE 'D:\oracle\data\JBXX.ORA' AUTOEXTEND 
        ON NEXT  500M;