CREATE and DROP TABLESPACE Oracle

后端 未结 2 1805
庸人自扰
庸人自扰 2021-02-19 21:03

I have created this tablespace

CREATE TABLESPACE IA643_TBS
DATAFILE \'IA643_dat\' SIZE 500K
AUTOEXTEND ON NEXT 300K MAXSIZE 100M;

I tried to dr

相关标签:
2条回答
  • 2021-02-19 21:40

    Answer of @Allan correct but for more clarity, let me show my example

    SQL> CREATE TEMPORARY TABLESPACE tbs_temp_01 
     2    TEMPFILE 'tbs_temp_01.dbf'
     3    SIZE 5M reuse
     4    AUTOEXTEND ON;
    

    0 讨论(0)
  • 2021-02-19 21:46

    You can either login to the operating system and actually delete the file or add the reuse keyword after the size in your create tablespace command.

    0 讨论(0)
提交回复
热议问题