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: tablespaces ddl extract script

RE: tablespaces ddl extract script

From: Freeman, Donald <dofreeman_at_state.pa.us>
Date: Wed, 12 Oct 2005 10:45:49 -0400
Message-ID: <51327ABA927BEF4B96590554CEA7832C0193096B@enhbgpri05.pa.lcl>


SELECT DBMS_METADATA.GET_DDL('TABLESPACE',a.tablespace_name) FROM dba_tablespaces a /

Will give you all of them.

Don Freeman
Database Administrator 1
Bureau of Information Technology
Pennsylvania Department of Health
717-783-8095 Ext 337

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of The Human Fly Sent: Wednesday, October 12, 2005 6:24 AM To: Oracle-L Freelists
Subject: tablespaces ddl extract script

Friends,

My mgmt. has decided to move our datawarehouse, around 1.5 TB from AIX server to HP-SUPERDOM. We are using oracle 9i and only export and import possible, I believe. This database has around 100 tbs. My planning is to get ddl of those tablespace exists on AIX to create them on HP-SUPERDOM server database.
Can any has scripts to extract the ddl of all tablespace with datafile defination in a database?

Thanking you in advance.

--

Best Regards,
Syed Jaffar Hussain



"It is your atittude, not your aptitude that determins your altitude."
--

http://www.freelists.org/webpage/oracle-l
--

http://www.freelists.org/webpage/oracle-l Received on Wed Oct 12 2005 - 09:50:15 CDT

Original text of this message

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