Reverse engineering database model diagram in Visio2010

WBOY
Release: 2024-06-02 18:23:55
Original
1154 people have browsed it

Want to create a database model diagram, but there is no ready-made Visio template? Don't worry, PHP editor Baicao brings you a Visio2010 reverse engineering modeling tutorial. This tutorial details how to leverage the power of Visio to take data from an existing database and transform it into clear, intuitive model diagrams. Follow our steps to create professional database model diagrams step by step to assist your database design and analysis.

1. Create a new database model diagram in Visio

Open Visio 2010, File -> New -> Database -> Database Model Diagram. After creating the database model diagram, there is an additional menu item [Database] in the menu bar.

Reverse engineering database model diagram in Visio2010

Look at the picture below. There is an extra database item in the menu bar

Reverse engineering database model diagram in Visio2010

2. Reverse engineering

Menu item database— "Reverse Engineering. Start the reverse engineering wizard and complete the reverse engineering settings step by step.

2.1. Establish a connection with the database.

The type of Visio driver selected determines the type of database that can be connected and the available options. The data source specifies the database location and connection information. Here we choose the Visio driver as Microsoft Sql Server and the data source as the newly created BASICDATA.

Reverse engineering database model diagram in Visio2010

2.2 Create a new data source

If the data source has not been established in advance, you can click [New] to create a data source.

2.2.1 Select [SQL Server] here

Reverse engineering database model diagram in Visio2010

2.2.2 Set [data source name] and [server address]

server address It can be a server name or an IP address.

Reverse engineering database model diagram in Visio2010

2.2.3 Test whether the data source is connected successfully

Reverse engineering database model diagram in Visio2010

2.2.4 The data source is established successfully

The data source is established successfully , automatically jump to the [Reverse Engineering Wizard], and you will find that there are more newly created data sources in the [Data Source] list.

Reverse engineering database model diagram in Visio2010

3. Connect to the data source

Enter the user name and password to connect to the data source.

Reverse engineering database model diagram in Visio2010

4. Select the object type to be reverse engineered, as shown in the figure:

Reverse engineering database model diagram in Visio2010

5. Select the table or view to be reverse engineered .

Reverse engineering database model diagram in Visio2010

6. Select the stored procedure to be reverse engineered.

Reverse engineering database model diagram in Visio2010

7. Check whether the content you selected is correct.

Reverse engineering database model diagram in Visio2010

8. Do you want the items with reverse engineering selected to be added to the current project? Select Yes to generate the graph.

Reverse engineering database model diagram in Visio2010

9. The result is roughly as follows.

Reverse engineering database model diagram in Visio2010

This completes the introduction to the establishment of the database model! Look at an exported database model diagram:

Reverse engineering database model diagram in Visio2010

The above is the detailed content of Reverse engineering database model diagram in Visio2010. For more information, please follow other related articles on the PHP Chinese website!

source:zol.com.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template