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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: create tablespace script

RE: create tablespace script

From: Fink, Dan <Dan.Fink_at_mdx.com>
Date: Tue, 21 Jan 2003 07:29:22 -0800
Message-ID: <F001.00535E88.20030121072922@fatcity.com>


DBA_DATA_FILES contains the tablespace name. Use that to 'group' the datafiles together.

-----Original Message-----
Sent: Tuesday, January 21, 2003 7:49 AM
To: Multiple recipients of list ORACLE-L

Hi!

I want to write a "create tablespace" script that creates all "create tablespace" statements for a database.

I got this script working if each tablesspace has only one datafile. But how would I handle it if a tablespace consists of 2 datafiles, e.g. datafile 5 and 87 from dba_data_files...

Is there an id for the datafiles within the tablespace???

Any ideas?

Thanks,
Helmut

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Fink, Dan
  INET: Dan.Fink_at_mdx.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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). Received on Tue Jan 21 2003 - 09:29:22 CST

Original text of this message

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