Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to obtain tablespace creation scripts?
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
![]() |
![]() |