Forward Engineer/Alter Script › Forward Engineering/Schema Generation › Generate the Schema to the Target Server (Forward Engineering)
Generate the Schema to the Target Server (Forward Engineering)
When you generate the schema, you can connect to the target server and generate the schema. When you generate a DDL script, you can save it as a text file that you can open in a word-processing package or load it into a utility that interprets SQL scripts.
To generate the schema to the target server
- Click Create Subject Area in the physical model, and select the subject area for which you want to generate the schema.
- Click Forward Engineer, Schema... on the Actions menu.
- Select an option set from the Option Set list.
- Select the schema generation options.
- Choose any of the following options:
- To view the generated DDL, click Preview.
- To save the DDL script, click Report.
- To filter the number of tables for which you want to generate the schema, click Filter.
- To print a copy of the DDL script, click Print.
- Click Generate to open the <Database> Connection dialog and log on to the target server.
- Choose any of the following options in the Generate Database Schema dialog:
- Save Model
-
Saves the message log to a file.
- Print
-
Prints the message log.
- Find
-
Searches the message log.
- Close
-
Closes the message log.
- Click Close.
More information:
Select Schema Generation Options