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

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -