Data Modeling Data Dictionary
Data Modeling Data Dictionary
Tutorial
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 1 of 10
Visual Paradigm
From Data Modeling to Data Dictionary
Tutorial
Preparation
In order complete this tutorial, make sure you have Visual Paradigm downloaded and installed. Click
here to download Visual Paradigm if you do not have it installed.
Create a new project in Visual Paradigm. You can create project by selecting File > New
Project from the main menu.
2.
Create a new entity relationship diagram (ERD) by clicking on the Diagrams button in toolbar
and selecting Entity Relationship Diagram.
3.
Draw a Company entity. To draw an entity, select Entity from the diagram toolbar (on the left
hand side of the diagram) and click on the blank area of the ERD to create one.
4.
Right click on the Company entity and select New Column from the popup menu.
5.
Enter + ID : integer. "+" stands for a primary key, while ID is the name of the column and integer
is its type.
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 2 of 10
Visual Paradigm
From Data Modeling to Data Dictionary
Tutorial
6.
Press Enter and create another column name : varchar(255). This column is not a primary key
so you don't need to add "+" before it. It's a varchar, with 255 as type length.
7.
8.
9.
Let's create one more entity. Move your mouse pointer over the Company entity. This shows a
set of resource icons around the entity shape. Press on One-to-Many Relationship -> Entity and
drag it out.
10.
Release the mouse button to create a new entity. Enter Employee as name.
11.
Right click on the Employee entity and select New Column from the popup menu.
12.
Again, enter +ID : integer to create a primary key for this entity.
13.
14.
15.
16.
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 3 of 10
Visual Paradigm
From Data Modeling to Data Dictionary
Tutorial
17.
Let's define the entities and columns. Open the Documentation Pane. The shortcut key is CtrlShift-U.
18.
Click on the Company entity in ERD and define it by entering the description in the
Documentation Pane: A company is a business unit that provides good or service.
19.
20.
21.
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 4 of 10
Visual Paradigm
From Data Modeling to Data Dictionary
Tutorial
1.
2.
This creates an empty report. What you have to do is to fill it up with contents. In this tutorial, the
data dictionary. Now, click on the ERD listed under the Diagram Navigator.
3.
4.
The Property Pane is now listing the available templates of ERD. Select Data Specification
Report and drag it to the report.
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 5 of 10
Visual Paradigm
From Data Modeling to Data Dictionary
Tutorial
5.
6.
Are you happy with the content? Let's try something different. Create a new report. Again, click
on the Diagrams button in toolbar and select Report.
7.
8.
This time, select the Entity Relationship Diagram template and drag it onto the report.
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 6 of 10
Visual Paradigm
From Data Modeling to Data Dictionary
Tutorial
9.
Select the Data Dictionary template and drag it onto the report, under the ERD image.
10.
Let's change the pages to show in landscape. Click on Report Properties... in the toolbar.
11.
12.
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 7 of 10
Visual Paradigm
From Data Modeling to Data Dictionary
Tutorial
13.
14.
As you may notice, there is another template named Data Dictionary 2, you may try it yourself
later on. Now, let's produce a Word document from the report. Click on the Export button at the
top right corner of Report Composer, and then select Word Report... from the popup menu.
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 8 of 10
Visual Paradigm
From Data Modeling to Data Dictionary
15.
Tutorial
In the Export Word Report window, specify the output path of the Word file and click Export.
You now got a Word document of your data dictionary. In practice, you can send this to your
client, the database administrator or anyone who need to refer to it.
2.
Add an entity Project from the Employee entity, with a One-to-Many relationship in between.
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 9 of 10
Visual Paradigm
From Data Modeling to Data Dictionary
3.
4.
You should see the report content updated by showing the new entity in image.
Tutorial
So now, you can export an updated data dictionary, and send it to anyone who need it. :-)
Related Resources
Company-and-Employee-ERD.vpp
sample-data-dictionary.docx
Related Links
http://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp
Page 10 of 10