Generating ER Diagrams and Join conditions from SQL files

Posted on 2007-11-15
Medium Priority
Last Modified: 2013-12-26
Hi there,
I have been given a load of .sql files, .ksh files and .ddl files which represent a database and a number of scripts that pull and manipulate data within the database.

Apart from some random code comments I am struggling to understand the overall structure of the database and the function of the scripts.

I was after some advice as to whether there were any tools out there that could help my by processing the files and generating an ER diagram or describing the joins etc.

Any help would be much appreciated.
Question by:chocobogo

Assisted Solution

rschoenbach earned 150 total points
ID: 20291207
There is a nice ERD builder in SQL2005. I use it all the time and shows the relationship between the tables.

Accepted Solution

myrizvi earned 225 total points
ID: 20700486

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question