1、以system用户登陆,查看dba_tablespaces视图了!!
2、create tablespace 表空间名 
   datafile '路径\数据文件.dbf' size 5m
   default storage (initial 10k next 50k);
自己还要看看书了

解决方案 »

  1.   

    CREATE TABLESPACECreate a tablespace.Syntax:   CREATE TABLESPACE tablespace_name
          DATAFILE Datafile_Options Storage_Options ;Datafile_Options:    'filespec' [AUTOEXTEND OFF]
        'filespec' [AUTOEXTEND ON [NEXT int K | M] [MAXSIZE int K | M]]
    The Autoextend Maxsize clause will default to UNLIMITED if no value is specified. Storage_Options:    DEFAULT STORAGE storage_clause
        MINIMUM EXTENT int {K|M}
        LOGGING | NOLOGGING
        ONLINE | OFFLINE
        PERMANENT | TEMPORARY
        EXTENT MANAGEMENT {DICTIONARY |
           LOCAL {AUTOALLOCATE | UNIFORM [SIZE int K | M]} }"A place for everything and everything in its place" - Isabella Mary Beeton, The Book of Household ManagementRelated Commands:ALTER TABLESPACE 
    DROP TABLESPACE Related Views: DBA_DATA_FILES 
     DBA_TABLESPACES                           USER_TABLESPACES
     DBA_TEMP_FILES 
     DBA_TS_QUOTAS                             USER_TS_QUOTAS       
    ALTER TABLESPACEChange the properties of a tablespace.Syntax:   ALTER TABLESPACE tablespace_name option
    options: 
    The option used with this command can be any one of the following
        ADD {TEMPFILE|DATAFILE} 'filespec' [AUTOEXTEND OFF] SIZE int {K|M}    ADD {TEMPFILE|DATAFILE} 'filespec' SIZE int {K|M}
           [ AUTOEXTEND ON [NEXT int K | M] 
               [MAXSIZE {UNLIMITED|int K|int M}] ]    RENAME DATAFILE 'filename' TO 'filename'
        MINIMUM EXTENT int {K|M}
        COALESCE
        DEFAULT STORAGE storage_clause
        ONLINE
        OFFLINE {NORMAL | TEMPORARY | IMMEDIATE | FOR RECOVERY}
        {BEGIN | END} BACKUP
        READ {ONLY | WRITE}
        PERMANENT | TEMPORARY
        LOGGING | NOLOGGING"God grant us the serenity to accept the things we cannot change, courage to change the things we can, and wisdom to know the difference." - Reinhold Niebuhr - The 12 step program Related Commands:DBMS_SPACE_ADMIN
    CREATE TABLESPACE 
    DROP TABLESPACERelated Views: DBA_DATA_FILES 
     DBA_TABLESPACES                           USER_TABLESPACES 
     DBA_TEMP_FILES 
     DBA_TS_QUOTAS                             USER_TS_QUOTAS     
    DROP TABLESPACECreate a tablespace.Syntax:   DROP TABLESPACE tablespace_name [INCLUDING CONTENTS [CASCADE CONSTRAINTS]]"I am become death, shatterer of worlds." - Robert J. Oppenheimer (citing from the Bhagavad-Gita, after witnessing the world's first nuclear explosion) Related Commands:CREATE TABLESPACE
    ALTER TABLESPACE Related Views: DBA_TABLESPACES                           USER_TABLESPACES
     DBA_TS_QUOTAS                             USER_TS_QUOTAS   
      

  2.   

    补充不用命令的做法:
    在 DBA Studio :
    进入 之后~
     数据库名 -> 存储 -> 空间 -> 你的用户名-> 数据文件(选中之后) 就可以查看.
     .................................. 右键还可以新建表空间...