Create Database Table from Types
To create a database table from one or more types uploaded to the Management Console, follow the procedure.
- Select one or more types on the Types tab under the Repository tab.
-
Right-click the selected types and choose
Create Database Table.
The Create table window appears.
-
In the
Create table window, select one of the configured database mappings defined in a project and
select whether to generate SQL code to drop tables. Click
Generate SQL.
A SQL editor opens, containing SQL code to generate (and drop If you selected Generate SQL to drop tables) the tables from the selected types on the selected database. Edit the code and click Execute SQL.
After the SQL code has been executed, a message is issued with an execution state (success or errors with description). Click OK to dismiss the message and close the windows.