Guy,
The 'drop tablespace' command does a number of items. It purges the data
dictionary of all references to that tablespace, removes the file information
from the control file, closes the datafile(s) and releases them back to the
operating system. All that being said, if you then want to reuse the datafile
as a new tablespace then you have to wipe it. The simplest reason being that
you may be using it in a database with a different block size. Look at it this
way, if you were starting to write a new book, would you use a notepad of erased
paper? If you did there might end up being some very interesting side notes
running around.
Dick Goulet
____________________Reply Separator____________________
Author: "Guy Hammond" <[EMAIL PROTECTED]>
Date: 11/2/2001 5:40 AM
Hello all,
When a tablespace is dropped, the datafile is left on the disk. What
exactly is the drop tablespace command doing, and is there a way to get
that datafile and "re-attach" to a new tablespace in some way? For
example, creating a tablespace using that datafile, but without wiping
it, as the "reuse" clause does?
Thanks,
g
--
Guy Hammond
AVT Technologies
Classic House
174-180 Old Street
London EC1V 9BP
Desk: 020 7454 4174
Mobile: 07966 164687
Web: http://www.avt.co.uk/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Guy Hammond
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).