How can I get the SQL of a tablespace of the database

Hi all

I'm using Oracle 11 g R2. I want to get some tablespaces on my database SQL code. in the same way, I get the DDL of the table using the GET_DDL function.

How can I get that?

Kind regards

Just use 'TABLESPACE' instead of 'TABLE' and a name of a tablespace instead of the name of a table and use dba_tablespaces or the user_tablespaces for a list of tablespaces.
It's a simple as that!

------------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

Maybe you are looking for