Question

Is there a simple way of extracting the database model of existing DBs? I played around in the management studio and in Visio, even though I found very interesting features of data integration I failed to perform a simple export of the structure of the DB.

Could anyone pls give me a hint how to perform such an export, basically I only need the table and view names and their fields in a Visio or Enterprise Architect readable format.

thx in advance

K

Was it helpful?

Solution 2

First,

thanks guys for the presented hints.

I figured around and found that Visio 2k7 has a pretty easy to use DB reverse engineering functionallity which actually resolved my problem. It works with MS SQL and also with ODBC.

To make it short: Visio ships with the needed functionallity, Enterprise Architect 7.1 has a quite similar functionallity which makes use of ODBC too.

K

OTHER TIPS

Exporting schema is easy with Tasks->Generate Scripts... but wheter you can use it with Visio - no idea.

Select the "Generate Scripts" option from your Object Explorer:

alt text

and then make sure to pick "Generate all objects" from the Script Wizard:

alt text

This allows you to create a single SQL file to create the whole database, and at least Visio Enterprise is able to reverse-engineer a database from a SQL script.

Marc

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top