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: How to obtain tablespace creation scripts?

Re: How to obtain tablespace creation scripts?

From: Gints Plivna <gints.plivna_at_gmail.com>
Date: 19 Apr 2007 01:11:09 -0700
Message-ID: <1176970269.698023.156040@b75g2000hsg.googlegroups.com>


I assume quite many GUI DBA tools can generate DDL, for example Enterprise manager (on java) surely can do that. The other possibility is to use dbms_metadata

SQL> set long 10000
SQL> select dbms_metadata.get_ddl('TABLESPACE', 'USERS') from dual;

DBMS_METADATA.GET_DDL('TABLESPACE','USERS')


  CREATE TABLESPACE "USERS" DATAFILE
<skipped>

Gints Plivna
http://www.gplivna.eu Received on Thu Apr 19 2007 - 03:11:09 CDT

Original text of this message

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