Data Modeling Data Dictionary
Data Modeling Data Dictionary
Data modeling is often the first step in database design as the developers will typically create a
conceptual model of how data items relate to each other. Data modeling involves a progression
from conceptual model to logical model to physical schema. While a conceptual or logical Entity
Relationship Diagram (ERD) will focus on the high-level business concepts, a Data Dictionary will
provide more detail about a business concept, such as standard definitions of data elements, their
meanings, and allowable values.
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 1 of 10
Visual Paradigm Tutorial
How to Keep ERD and Data Dictionary Synchronized?
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.
2. To create an Entity Relationship Diagram, select Diagram > New from the toolbar.
3. In the New Diagram window, select Entity Relationship Diagram and click Next. Give the
diagram a name and click OK to confirm.
4. 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.
5. Right-click on the Company entity and select New Column from the popup menu.
6. Enter + ID : integer. "+" stands for a primary key, while ID is the name of the column and integer
is its type.
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 2 of 10
Visual Paradigm Tutorial
How to Keep ERD and Data Dictionary Synchronized?
7. 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.
10. Let's create one more entity. Move your mouse pointer over the Company entity. Press on the
Resource Catalog icon at top right and drag it out.
11. Release the mouse button at the empty space on the right hand side. Select One-to-Many
Relationship -> Entity from the Resource Catalog.
13. Right-click on the Employee entity and select New Column from the popup menu.
14. Again, enter +ID : integer to create a primary key for this entity.
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 3 of 10
Visual Paradigm Tutorial
How to Keep ERD and Data Dictionary Synchronized?
19. Let's describe the entities and columns in detail. Open the Description Pane by clicking on
Show Description button at the bottom right of the application window.
20. Click on the Company entity and enter its description: A company is a business unit that
provides good or service.
21. Similarly, click on Employee and enter its description: An employee is someone who work in a
company.
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 4 of 10
Visual Paradigm Tutorial
How to Keep ERD and Data Dictionary Synchronized?
3. 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.
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 5 of 10
Visual Paradigm Tutorial
How to Keep ERD and Data Dictionary Synchronized?
4. The Template Pane (at bottom left of the application window) lists the available templates of
ERD. Select Data Dictionary and drag it to the document.
6. Are you happy with the content? Let's try something different. Create a new document. Again,
select Tools > Doc. Composer from the toolbar and then select Build Doc from Scratch in
Doc. Composer.
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 6 of 10
Visual Paradigm Tutorial
How to Keep ERD and Data Dictionary Synchronized?
8. This time, select Basic template and drag it onto the document.
9. Select the Data Dictionary 2 template and drag it onto the document, under the ERD image.
10. Let's change the pages to show in landscape. Click on Document Properties... in the toolbar.
11. In the Document Properties window, open the Page Setup tab.
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 7 of 10
Visual Paradigm Tutorial
How to Keep ERD and Data Dictionary Synchronized?
14. Now, let's produce a Word document from Doc. Composer. Click on the Export button at the top
right corner of Doc. Composer, and then select Word Document... from the popup menu.
15. In the Export Word Doc. 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.
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 8 of 10
Visual Paradigm Tutorial
How to Keep ERD and Data Dictionary Synchronized?
2. Add an entity Project from the Employee entity, with a One-to-Many relationship in between.
4. You should see the document content updated by showing the new entity in image.
So now, you can export an updated data dictionary, and send it to anyone who need it. :-)
Resources
1. Company-and-Employee-ERD.vpp
2. sample-data-dictionary.docx
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 9 of 10
Visual Paradigm Tutorial
How to Keep ERD and Data Dictionary Synchronized?
Related Links
• User's Guide - Drawing entity relationship diagram
https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 10 of 10