分类: Oracle
2009-07-04 16:43:48
错误:
ERROR at line 1:
解决办法:
看了一下DBA_TABLESPACES,TEMP的status还online
SQL> SELECT TABLESPACE_NAME,STATUS FROM DBA_TABLESPACES;
TABLESPACE_NAME STATUS
------------------------------ ---------
SYSTEM ONLINE
UNDOTBS1 ONLINE
TEMP ONLINE
CWMLITE ONLINE
DRSYS ONLINE
EXAMPLE ONLINE
INDX ONLINE
ODM ONLINE
TOOLS ONLINE
SQL> select tablespace_name, file_name from dba_temp_files;
SQL> alter tablespace temp add tempfile '/cio/oracle/mc/temp01.dbf'
Tablespace altered.
SQL> select FILE_NAME,TABLESPACE_NAME,STATUS from dba_temp_files;
FILE_NAME TABLESPACE_NAME STATUS
----------------------------------- ------------------------------ ---------