Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Database Administration >> Alter tablespace to temporary!!

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Alter tablespace to temporary!!
 Navi  Posted: Jun 28, 2007 06:33:46 AM

 Total Post: 60
 Joined: Jun, 2007






 Hi,

I created permanent tablespace with no objects in it so i tried to switch from permanent tablespace to temporary tablespace and i got the following error...

SQL> alter tablespace student temporary;
alter tablespace student temporary
*
ERROR at line 1:
ORA-03218: invalid option for CREATE/ALTER TABLESPACE

Can someone tell me the problem with it?

Regards,
Naveen

 Ratnaker
Posted: Jun 29, 2007 01:39:42 AM  

 Total Post: 138
 Joined: Apr, 2007






 
Hi Navi,

You cannot use the ALTER TABLESPACE statement, with the TEMPORARY keyword, to change a locally managed permanent tablespace into a locally managed temporary tablespace. You must use the CREATE TEMPORARY TABLESPACE statement to create a locally managed temporary tablespace.

K P Ratnaker

 Navi
Posted: Jun 29, 2007 03:05:37 AM  

 Total Post: 60
 Joined: Jun, 2007






 
Hi Ratnaker,

Can you please tell me the steps to switch from premanent tablespace to temporary tablespace.


Regards,
Naveen

 Puspak
Posted: Jul 03, 2007 09:15:52 AM  

 Total Post: 3
 Joined: Oct, 2006






 
step1:Cr8 a Tablespace
step2:alter database default temporary tablespace <tablespace _name>;
step3:drop the previous tablespace

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar816
  Mohammed Taj709
  Jayanta Sur479
  positive fanatic418
  Vigyan Kaushik386
  Gitesh Trivedi322
  Gopu Gopi242
  neeraj sharma240
  Ramesh Jois226
  Bishal Khetan205






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software