Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good software to generate SQL from ER diagram? [closed]

Tags:

sql

database

I am creating a database and I need to create some tables.

I would like to know which software do you use or recommend (preferably free) to generate SQL code from ER diagram.

like image 249
ceklock Avatar asked Nov 05 '22 00:11

ceklock


2 Answers

Not free, but effective: Microsoft Visio.

It has a nice template for ER diagrams complete with relationships, primary key information, etc. I believe that it can both generate the schema in the database as well as create the diagram by pointing it at a database.

like image 103
RQDQ Avatar answered Nov 07 '22 22:11

RQDQ


We've used Case Studio 2 for years to model a fairly complex schema - it's pretty good. We use it to create scripts for MySQL, Oracle and SQL Server. It is now called Toad Data Modeller: https://www.quest.com/products/toad-data-modeler/ There's a freeware version (not sure how this differs from the paid-for licenced version though)

like image 34
Martin Wilson Avatar answered Nov 07 '22 22:11

Martin Wilson