http://www.itpub.net/showthread.php?threadid=302228--最初由 lucky_lau 发表:
You cannot use the ALTER TABLESPACE statement, with the TEMPORARY keyword, to change a locally managed permanent tablespace into a locally managed temporary tablespace. You must use the CREATE TEMPORARY TABLESPACE statement to create a locally managed temporary tablespace.
不能将本地管理的永久表空间更改为临时表空间,字典管理的可以。

解决方案 »

  1.   

    那也就是说只能把这个临时表drop掉以后再重新建了?
      

  2.   

    --好象只能这样了-------------------------drop tablespace tmpSpacep;create tablespace tmpSpacep
    datafile '' size 100M
    extent management dictionary;alter tablespace tmpSpacep temporary;--更改成功!--设置为数据库的默认临时表空间alter database default temporary tablespace tmpSpacep;
      

  3.   

    这里的“extent management dictionary;”是把这个表空间让字典来管理?本地管理和字典管理有啥区别啊?
      

  4.   

    我用
    create tablespace tmpSpacep
    datafile 'D:\oracle\oradata\AppData\data1.dbf' size 100M
    extent management dictionary;
    这个语句不行啊,
    会出现ORA-12913错误
      

  5.   

    下面的两句话搞定:drop tablespace tmpQry;
    Create temporary tableSpace tmpQry tempfile 'd:\oracle\oradata\TEMPQRY01.dbf' SIZE 10M;
      

  6.   

    dreammer(追寻梦中人)说得差不多了
      

  7.   

    oracle数据库的表空间分为两种:数据字典管理表空间和本地化管理表空间,从oracle9.2.0.1版本开始就停止了数据字典表空间的使用。