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

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

Qt4: how to send QString inside a struct via QSharedMemory -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -