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: locally managed tablespace question

Re: locally managed tablespace question

From: Erwin Dondorp <erwindon_at_wxs.nl>
Date: Tue, 26 Jun 2001 23:38:51 +0200
Message-ID: <3B3900EB.3C071DD4@wxs.nl>

Phillip wrote:
> why is it that when I do a query on a temporary tablespace (TEMP) which
> is managed locally for the datafiles I get 0 rows returned, but when I
> run the same query on another locally managed tablespace, the datafiles
> return?
> select file_name from dba_data_files where tablespace_name='TEMP';
> 0 rows returned
> select file_name from dba_data_files where tablespace_name='TB1';
> /oracle/ora1/oradata/tb1.dbf

temporary tablespaces don't have "datafiles", they have "tempfiles". Do a select from dba_temp_files and you'll find your files.

        E. Received on Tue Jun 26 2001 - 16:38:51 CDT

Original text of this message

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