Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old April 24th, 2003, 04:04 PM
pablo.gosse pablo.gosse is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 155 pablo.gosse User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 6 m 5 sec
Reputation Power: 6
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

Reply With Quote
  #3  
Old April 25th, 2003, 09:16 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
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

Reply With Quote
  #4  
Old April 25th, 2003, 02:04 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,298 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 1 h 54 m 21 sec
Reputation Power: 41
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

Reply With Quote
  #5  
Old April 25th, 2003, 02:55 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,298 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 1 h 54 m 21 sec
Reputation Power: 41
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...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Tool to generate ER diagram from SQL code


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway