Generate an SQL Table creation script

Now that we transformed a UML model into a Relational model, we may want to generate SQL Table creation scripts. The generation in MDWorkbench is text template based. Text templates are implemented in TGL (Template Generation Language).

To generate SQL code:

  1. Create a text template
  2. Change its contents to generate SQL code
  3. Chain the transformation and generation steps together

Related concepts
Text template