|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Tool to generate ER diagram from SQL code
Hi all. Myself and my sys admin are looking for a free tool which will generate a rudimentary ER diagram from an sql file (PostgreSQL or MySQL, but PostgreSQL is the most important).
Doesn't need to be anything overly fancy, just a basic ER diagram indicating tables, columns and relationships would suffice. I've done a bit of digging but haven't been able to find anything really useful. Does anyone have any ideas? Thanks, Pablo |
|
#2
|
||||
|
||||
|
Check this out -> http://forums.devshed.com/showthread.php?threadid=57915
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) Understanding SQL Joins An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries |
|
#3
|
|||
|
|||
|
I know you said `FREE` but I feel that datanamic is worth the money.
http://www.datanamic.com
__________________
El éxito consiste en una serie de pequeñas victorias día a día MySQL, MS SQL, MS ACCESS, Oracle Database Manager - http://victorpendleton.net/products/psdviewer.html |
|
#4
|
|||
|
|||
|
As mentioned at http://www.orm.net/resources.html htere is actually a "discontinued" product by Microsoft called VisioModeler, which is still available for download. It is free because it is considered "unsupported". It has now become part of Visio Enterprise version, or something like that.
It can connect to ODBC sources, as well as generate SQL for database creation. I'm sure it has bugs, etc... but it is free ;-). It's actually surprising how much this piece of software can do. The interesting thing about this tool is that it is not just an ER modeler, but was mainly created as an ORM (Object Role Modeling) tool. For more details about ORM, just visit www.orm.net. ORM is actually a much more advanced type of modeling for data systems, allowing one to specify complex relationships, constraints, and business rules.
__________________
The real n-tier system: FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL Amazon wishlist -- rycamor (at) gmail.com |
|
#5
|
|||
|
|||
|
Or, for another great tool at the opposite end of the spectrum, try DDT (Database Design Tool) by Jo Janssens. This is a tiny piece of software, which would probably run fine on your old 486/33Mhz machine. But, if you just want simple ER diagrams with no fluff, it's actually a great little tool. It can read well-formed SQL to create tables and relationships, and it can generate fairly straightforward SQL statements from diagrams.
Note: this is a Windows-only tool. Also note that if you use UltraEdit to create your SQL files, or if you copy an SQL text file from your Linux/Unix machine, you may need to convert the file to have DOS/Windows-style line endings (\r\n), or DDT will have problems reading the file. Also, printing support is limited at the moment. If any Windows VC++ gurus here can download the DDT source and add features, I will be happy to suggest a few, such as better printing support, graphic export options for the diagrams, a few more symbols, etc... ![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Tool to generate ER diagram from SQL code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|