exp file=my_db.dmp full=y rows=n
The ROWS=N parameter will not export any data (no rows). The structure will be in the dump file though. Oracle's import utility can then be used to import the structure into another database. Please refer to your version's Utilities Guide for more information on these two utilities.
Dig Deeper on Oracle database design and architecture
Related Q&A from Brian Peasland
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs. Continue Reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command. Continue Reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming. Continue Reading