tags:

views:

1383

answers:

9
+2  Q: 

UML to SQL tool

Hi, is there some UML tool where I can draw my database design and generate SQL scripts for creating my database?

thanks

+2  A: 

I can recommend Enterprise Architect from http://www.sparxsystems.com.au/

anon
A: 

Yes, several CASE (computer-aided software engineering) tools exist that will do this. Microsoft Visio is one such.

David M
+2  A: 

Sparx Enterprise Architect can do that. It can also reverse-engineer existing databases.

Of course, it does a lot more than this as well.

John Saunders
A: 

You better use Visio, it directly creates the tables on you server n also support reverse engineering... n supports many DB systems

Prashant
Visio removed this feature. To use it, you have to use Visio for Enterprise Architects, released in 2003.
Sean
A: 

Yes there are some:

ema
A: 

Erwin from CA is one such tool.

We started playing with the idea of using it at a previous employeer of mine. But found the complexity of the tool and cost offset the need for it.

JoshBerke
A: 

argouml can do it - open source and cross-platform! but it's not yet a seamless experience, although they're working on it.

+1  A: 

You can also try the online code-generation service MOLA::UMLtoDB that automatically generates a SQL DDL script to create the database corresponding to an input UML class diagram.

Jordi Cabot
A: 

I don't know what sort of SQL flavour you're using but you could try MySQL Workbench. It's cross platform and free (as in 'free speech' not as in 'free beer').

expora