You are on page 1of 9

How to Generate DDL statement for a DB?

Follow these steps:


1. Right click on the DB and choose Generate DDL

2. Go to Object Tab

3. In User field select the Authorization Name (usually User


Name)

4. Select SCHEMA name in the SCHEMA field

5. By default DDL statements are generated for all Tables

6. Click Generate

7. Select Save

8. Enter any File Name and choose any Drive

9. You can now open the generated DDL using Notepad.

You might also like