Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Drop invalid tablespace - how?

Re: Drop invalid tablespace - how?

From: Komix Hui <huikomix_at_dt.com.hk>
Date: 1997/01/14
Message-ID: <32DBBD4F.4D9F@dt.com.hk>#1/1

janet wrote:

> i did a select from dba_tablespaces and found one that
> i know we don't use. the name appears to be a typo. the
> status is invalid.
>
> if i query dba_data_files, there is no corresponding
> data file for the tablespace.
>
> if i say drop tablespace X, it says that the tablespace
> does not exist (0959). (i know i typed the name right.)
>
> it's not a big problem, just an annoyance, but i should
> be able to rid us of this nonexistent tablespace, right? how?

When you get 'invalid' status of a tablespace from 'dba_tablespaces', it means that tablespace was dropped. But Oracle will keep a trace on that table unless you recreate another tablespace with the same name.

-- 
Hui, Kwok Miu (Xu, Guo Miao)         E-Mail: huikomix_at_dt.com.hk
Assistant MIS Manager                Tel   : (00852)2589 3369
Cho Yang (Hong Kong) Co., Ltd.       Fax   : (00852)2559 3049
Received on Tue Jan 14 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US