SQL tutorial | Interview questions | Oracle
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How To Drop a Tablespace?

Go down

How To Drop a Tablespace? Empty How To Drop a Tablespace?

Post by Micheal Tue Jan 19, 2010 7:17 pm

If you have an existing tablespace and you don't want it anymore. You can delete a tablespace by
using the DROP TABLESPACE statement as shown in the example below:
SQL> CREATE TABLESPACE my_space
2 DATAFILE '/temp/my_space.dbf' SIZE 10M;
Tablespace created.
SQL> DROP TABLESPACE my_space;
Tablespace dropped.

Micheal
Admin

Posts : 243
Join date : 2010-01-10

http://sql-tutorial.co.cc

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum