sql - Oracle temp tablespace alter statement -


what wrong query? had here not resolve problem.

sql> create temporary tablespace temprm; 

tablespace created.

sql> alter  tablespace  temprm add datafile   '+tempdata/rm/datafile/temprm_temp01.dbf'; alter  tablespace  temprm add datafile   '+tempdata/rm/datafile/temprm_temp01.dbf' * error @ line 1: ora-03217: invalid option alter of temporary tablespace 

a temporary tablespace made of tempfiles, not datafiles, so:

alter  tablespace temprm add tempfile '+tempdata/rm/datafile/temprm_temp01.dbf' size 2g; ----------------------------- here -^ 

Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -