Documentation Home
MySQL Workbench Manual
Related Documentation Download this Manual
PDF (US Ltr) - 16.3Mb
PDF (A4) - 16.3Mb
HTML Download (TGZ) - 14.6Mb
HTML Download (Zip) - 14.7Mb


9.6 Table Templates

Define table templates with commonly used columns and settings to create new tables from either a live connection or while creating an EER model.

From the SQL editor, select Create Table Like from the Tables context menu, as shown in the next figure.

Figure 9.58 New Table Template: SQL Editor

Content is described in the surrounding text.

Or while modeling, click the "Open the table template editor" icon under Modeling Additions, as the following figure shows.

Figure 9.59 New Table Template: Modeling

Content is described in the surrounding text.

After opening the Table Templates manager, make the adjustments and then click Apply to commit the changes. The following figure shows an example of column, data type, and default values that you can adjust for the user template.

Figure 9.60 Table Templates Manager

Content is described in the surrounding text.

To open an existing template from the SQL editor, hover over the Create Table Like context menu and select the desired table template. For modeling, double-click on a template in the right modeling sidebar.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.