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
Post a Comment