Blank Bear
Blank Bear

Reputation: 59

How to convert my ER diagram to sql?

How can i convert my ER diagram to an SQL file in MySQL Workbench?

My ER diagram in MySQL Workbench already consists of tables, foreign keys etc, how can I convert it to MySQL script.

Upvotes: 0

Views: 6016

Answers (1)

Andy W
Andy W

Reputation: 2192

There is a menu item to do this: FileExportForward Engineer SQL CREATE Script...

Or, you can do this with Ctrl+Shift+G shortcut - it is handy if you use the Forward Engineer often.

Upvotes: 4

Related Questions