views:

20476

answers:

8

Is there a tool around that would produce a diagram showing existing tables and their relationships given a connection to a database or by any other means?

This is for SQL Server 2008 Express Edition.

+1  A: 

Why don't you just use the database diagram functionality built into SQL Server?

Mitchel Sellers
+4  A: 

Try DBVis - download at http://www.minq.se/products/dbvis/ - there is a pro version (not needed) and a open version that should suffice.

All you have to do is to get the right JDBC - database driver ofr SQL Server, the tool shows tables and references orthogonal, hirarchical, in a circle ;-) etc. just by pressing one single button. I use the free version for years now.

Georgi
+1  A: 

Visio Professional has a database reverse-engineering feature if yiu create a database diagram. It's not free but is fairly ubiquitous in most companies and should be fairly easy to get.

Note that Visio 2003 does not play nicely with SQL2005 or SQL2008 for reverse engineering - you will need to get 2007.

ConcernedOfTunbridgeWells
+7  A: 

Yes you can use SQL Server 2008 itself but you need to install SQL Server Management Studio Express (if not installed ) . Just right Click on Database Diagrams and create new diagram. Select the exisiting tables and if you have specified the references in your tables properly. You will be able to see the complete diagram of selected tables. For further reference see http://www.sqlmag.com/Article/ArticleID/94166/sql_server_94166.html

Gripsoft
Any way to do this with SQL Server Compact 3.5?
Scott Anderson
+2  A: 

SQLDeveloper can do this.

http://sqldeveloper.solyp.com/

SquareCog
A: 

any schema diagram avaliable for SQL database latest version

mohanakrishnan
A: 

any tools can generate relationship between tables in database with all detail like PK, FK,etc

thx

andy
+1  A: 

SchemaCrawler for SQL Server can generate database diagrams, with the help of GraphViz. Foreign key relationships are inferred, using naming conventions, and tables and columns can be excluded using regular expressions.

Sualeh Fatehi