Scripts can be generated from the content of the ER Modeler (Forward Engineering), allowing conversion of the diagram into database commands and DDL. The resulting DDL can be imported via Aqua Data Studio's import command into another database or saved and shared as an SQL script. Generating Scripts from an ER Model works nearly the same as generating a script through right-clicking on an object in the Schema Browser, and selecting "Schema Script Generator."
Generating a Script from an ER Model
The generated script contains all of the database commands needed to generate the diagram within a database.
![]()
ER Model - Menu Bar - Tools -
Generate Script
![]()
ER Model - Generate Script Dialog
![]()
ER Model - Generate Script Dialog -
Options
![]()
ER Model - Generate Script Dialog -
Status
![]()
ER Model - Generated Script
![]()
ER Model - Generated Script -
Preview Tab