脚本如下:[code]create tablespace Armeng_data datafile 'D:\Oracle\oradata\ArmengDB\Armengdata.dbf'  
size 50M EXTENT MANAGEMENT LOCAL;create tablespace Armeng_temp datafile  'D:\Oracle\oradata\ArmengDB\Armengtemp.dbf' 
size 30M reuse autoextend on next 10M ;

create tablespace Armeng_index datafile 'D:\Oracle\oradata\ArmengDB\Armengindex.dbf' 
size 50M EXTENT MANAGEMENT LOCAL;
create user Armeng identified by starArmeng2003 default tablespace Armeng_data temporary tablespace Armeng_temp;grant resource,connect to Armeng with admin option;alter user Armeng 
      quota 16K on system
      quota unlimited on Armeng_data 
      quota unlimited on Armeng_temp 
      quota unlimited on Armeng_index;--退出SQLPLUS
exit;[/code]错误:ERROR at Line 1:
ORA-01543:tablespace 'ARMENG_DATA'already existsORA-10615:Invalid tablespace type for temporary tablespaceORA-01917:user or role 'ARMENG' does not existORA-01918:user 'EPG' does not exist脚本是之前用的9g的脚本,是版本的问题么?

解决方案 »

  1.   

    略懂英文应该看得懂呀ORA-01543:tablespace 'ARMENG_DATA'already exists 
    表空间ARMENG_DATA已经存在
    ORA-10615:Invalid tablespace type for temporary tablespace 
    无效的临时表空间
    ORA-01917:user or role 'ARMENG' does not exist 
    用户或角色ARMENG不存在
    ORA-01918:user 'EPG' does not exist 
    用户EPG不存在
      

  2.   


    ORA-10615:Invalid tablespace type for temporary tablespace 
    无效的临时表空间 这个看起来不是无效的临时表空间,根据字面含义,是给临时表空间的表空间类型不对。
    看一下该错误的原因:
    Cause: Tablespace with AUTO SEGMENT SPACE MANAGEMENT specified cannot be used as a temporary tablespace.
      

  3.   

    前面几个问题已经解决了现在还剩下ORA-10615:Invalid tablespace type for temporary tablespace 请问这个错误如何解决?自动段空间管理的表空间不能做临时表空间?
      

  4.   


    create tablespace data datafile 'D:\Oracle\oradata\DB\data.dbf'  
    size 50M EXTENT MANAGEMENT LOCAL;create tablespace temp datafile  'D:\Oracle\oradata\DB\temp.dbf' 
    size 30M reuse autoextend on next 10M ;

    create tablespace index datafile 'D:\Oracle\oradata\DB\index.dbf' 
    size 50M EXTENT MANAGEMENT LOCAL;
    create user  identified by star2003 default tablespace data temporary tablespace temp;grant resource,connect to  with admin option;alter user  
          quota 16K on system
          quota unlimited on data 
          quota unlimited on temp 
          quota unlimited on index;--退出SQLPLUS
    exit;
      

  5.   

    create tablespace temp datafile  'D:\Oracle\oradata\DB\temp.dbf' 
    size 30M reuse autoextend on next 10M ; 
    中的datafile改为tempfile
      

  6.   

    还是不行Invalid option for CREATE TABLESPACE
      

  7.   

    create temporary tablespace temp02 tempfile  'D:\Oracle\oradata\DB\temp.dbf' 
    size 30M reuse autoextend on next 10M ;LZ不如看看基础语法。