Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Problems with dropping datafile in tablespace
Peter <peter_at_nomorenewsspammin.ca> wrote in message news:<n0t1bvkvbap4mstv9afqdnlpcc68na3og6_at_4ax.com>...
> After I did the following:
>
> alter database datafile 'c:\oracle\oradata\db\tools\T1.dbf' offline
> drop;
>
> select file_name, tablespace_name from dba_data_files;
>
> The datafile that I dropped was still shown as part of the
> tablespace. Why is that?
Hello Peter:
This is a very common question and the truth is (for now), Oracle does not provide an interface for dropping datafiles.
I have an article on my website that provides several ways to drop a datafile.
http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_16.shtml
Hope this helps.
Regards,
-- jeff
![]() |
![]() |