How to Keep ERD and Data Dictionary Synchronized? Written Date : January 20, 2014

Similar documents
How to Generating DB Specification from Database> Written Date : January 20, 2016

How to Draw BPMN 2.0 Business Process Diagram? Written Date : March 9, 2016

How to Draw UML Sequence Diagram? Written Date : March 16, 2016

How to Use Profile Diagram to Manage Stereotypes? Written Date : March 6, 2016

What is Package Diagram? How to Draw Package Diagram? Written Date : July 29, 2014

UML Getting Started - UML Modeling in Eclipse Written Date : March 03, 2016

Creating Entity Relationship Diagram

How to Generate Redshift Database from ERD? Written Date : April 08, 2016

What is Storyboard? How to Develop a Storyboard? Written Date : January 20, 2016

How to Customize SysML Requirement Types? Written Date : February 4, 2016

What is Data Flow Diagram (DFD)? How to Draw DFD? Written Date : January 27, 2012

Composite Pattern Tutorial Written Date : October 7, 2009

Prototype Pattern Tutorial Written Date : September 30, 2009

ERD Tutorial: How to Design and Generate SQL Server DB? Written Date : June 19, 2015

How to Write Effective Use Cases? Written Date : January 27, 2016

Strategy Pattern Tutorial Written Date : October 27, 2009

Command Pattern Tutorial Written Date : October 14, 2009

Interpreter Pattern Tutorial Written Date : October 14, 2009

Introduction to BPMN Part III - Flow and Connecting Objects Written Date : March 07, 2016

Communicate Software Design using PostMania Written Date : August 24, 2016

How to Gather Requirements with UeXceler? (YouTube Example) Written Date : January 27, 2016

How to Draw Wireframe for Android Apps? Written Date : February 3, 2016

How to Capture Ad-Hoc Ideas with Brainstorm Diagram? Written Date : July 08, 2014

How to Generate Java from UML Class Diagram in NetBeans? Written Date : February 22, 2010

Visitor Pattern Tutorial Written Date : October 28, 2009

Singleton Pattern Tutorial Written Date : September 30, 2009

How to Manage Software Development Process with Tasifier? Written Date : September 10, 2014

What is TOGAF? How to Perform EA with TOGAF ADM Tool? Written Date : January 20, 2017

Visual Paradigm Quick Start

Bridge Pattern Tutorial Written Date : October 8, 2009

Visual Paradigm Doc. Composer Writer s Guide

ekaizen Lessons Table of Contents 1. ebook Basics 1 2. Create a new ebook Make Changes to the ebook Populate the ebook 41

Factory Method Pattern Tutorial Written Date : September 28, 2009

Creating a Wireflow Diagram

MICROSOFT WORD 2010 BASICS

Builder Pattern Tutorial Written Date : September 28, 2009

Microsoft. An Introduction

DocShuttle Administrator

Drawing Tools. Drawing a Rectangle

Text box. Command button. 1. Click the tool for the control you choose to draw in this case, the text box.

Tutorial 9: Creating Layout Plans and Printing

How to Design REST API? The Twitter Example Written Date : March 23, 2015

CBCL Limited Tool Palettes Tutorial 2012 REV. 01. CBCL Design Management & Best CAD Practices. Our Vision

Doc. Version 1.0 Updated:

Scenario Step-by-Step Guide

Thermacam Reporter 2000 Professional Template Building Tutorial

BP-VA Quick Start. Last update: 29 th January, Copyright Visual Paradigm International Ltd.

Generate Java source from UML class diagram in NetBeans Written Date : February 22, 2010

MICROSOFT VISIO 2010

Outlook basics. Identify user interface elements that you can use to accomplish basic tasks.

GroupWise 7 WebAccess Introduction

Visual Paradigm Quick Start

Microsoft Windows 7 - Illustrated Unit A: Introducing Windows 7

DYNAMICS 365 BUSINESS PROCESS VISUALIZATION USING VISIO

PagePlus X7. Quick Start Guide. Simple steps for creating great-looking publications.

FLIR Tools+ and Report Studio

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

OSM 7 Create sample cartridge in Design Studio

Microsoft Visio 2010

Rev. D 10/26/2012 Downers Grove Public Library Page 1 of 44

Word 2013 Quick Start Guide

In order to follow this set of directions you will need the following

Introduction to web page creation

Word Long Docs Quick Reference (Windows PC)

Microsoft PowerPoint 2007 Tutorial

WAIPA DISTRICT COUNCIL. Maps Online 9. Updated January This document contains an overview of IntraMaps/Maps Online version 9.

RAM JAYAM VIDYAA MANDIR MATRIC HR SEC SCHOOL. Cumbum. Theni district. 1 D.EASWARAN M.Sc B.Ed Computer Instructor RJMS_SCHOOL.

MS Office Word Tabs & Tables Manual. Catraining.co.uk Tel:

Power Point 2000 Level 1

Excel The primary replacement for menus and toolbars in Office Excel 2007 is the Ribbon. Designed for easy browsing, the

To complete this project, you will need the following folder:

Rational Rose: Creating Use-Case and Class Diagrams Version 1.0. Bryan Loughman 10/ 19/ 00

IBM Notes Client V9.0.1 Reference Guide

Introduction to Microsoft Access

Using the Subscriber Manager GUI Tool

to display both cabinets. You screen should now appear as follows:

Boise State University Digital Systems Laboratory

PowerPoint Launching PowerPointX

FrontPage Help Center. Topic: FrontPage Basics

Introduction. Creating a New Publication. Publisher 2010 Creating a New Publication. To Create a New Publication from a Template: Page 1

PowerPoint Slide Basics. Introduction

Make a Mad-Libs activity using an Excel Workbook

VP-UML Quick Start. Last update: October 15, Copyright Visual Paradigm International Ltd.

Writer Guide. Chapter 15 Using Forms in Writer

Introduction to Microsoft FrontPage

Links to Activities ACTIVITY 1.1. Links to Activities ACTIVITY 1.

Microsoft Word 2011: Basic Tutorial

Our Goals Teaching with Power Point

POWERPOINT BASICS: MICROSOFT OFFICE 2010

Tutorial: Introduction to Flow Graph

Quick Guide FAST HR. For more resources, including a guide on FAST HR codes, visit # Instructions Screenshot

How to Customize a RACI Chart? Written Date : February 23, 2016

Working with a Presentation

Tyler Dashboard. User Guide Version 5.8. For more information, visit

B.Sc. VI SEM (CS+BIO)

Visual Paradigm Quick Start

USER MANUAL SATORI TEAM

SAS Business Rules Manager 1.2

Quick Reference for the FloridaCHARTS Fetal Death Query

Mockup Step-by-Step Guide

Transcription:

Written Date : January 20, 2014 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. What is Data Modeling? Data modeling is the process of representing data objects and their relationships to other objects. Data modeling is performed to define data requirements of an information system in supporting business processes. What is Data Dictionary? Data dictionary is the textual description of data objects and their inter-relationships. It is commonly used in confirming data requirements and for database developers to create and maintain a database system. A data dictionary describes the physical attributes of a data element. What is the data type (string, boolean, integer, etc.)? What is the maximum length? What is the format? What is this about? This is data modeling tutorial written to outline the steps you need to take to perform data modeling and producing data dictionary in Visual Paradigm. https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 1 of 10

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. Part I - Data Modeling In this section we are going to use the ERD tools to create a simple database design. 1. Create a new project in Visual Paradigm. You can create project by selecting File > New Project from the main menu. 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

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. 8. Press Enter to confirm editing. 9. Press Esc to complete column creation. 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. 12. Enter Employee as entity name. 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. 15. Press Enter and create another column name : varchar(255). 16. Press Enter and create another column jobtitle : varchar(50). 17. Press Enter to confirm editing. https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 3 of 10

18. Press Esc to complete column creation. 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. 22. Repeat the steps for columns in Company entity: ID - For the unique identification of company records. name - Name of the company. https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 4 of 10

23. Repeat the steps for columns in Employee entity: ID - For the unique identification of employee records. name - Name of the employee. jobtitle - The position of the employee in a company. Part II - Producing Data Dictionary Time to produce a data dictionary! There are several reporting tools you can select in producing a data dictionary. In this tutorial, let's try Doc. Composer. 1. Select Tools > Doc. Composer from the toolbar. 2. Select Build Doc from Scratch in Doc. Composer. 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

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. 5. Release your mouse button to produce the content of data dictionary. 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. 7. Click on the ERD listed under the Diagram Navigator. https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 6 of 10

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

12. Select Landscape for Page Orientation. 13. Click OK to return to Doc. Composer. Look pretty nice now? 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

Part III - Keeping Data Dictionary Up-to-Date One of the most important, and yet challenging part of documenting a design is to keep the document up-to-date, showing the latest changes made in the design. Imagine if you have added more entities in ERD, or have updated the definition of some entities, you probably need to update the data dictionary to reflect the latest changes. The Doc. Composer provides you a 'refresh' function to accomplish this. Let's try it. 1. Open your ERD. 2. Add an entity Project from the Employee entity, with a One-to-Many relationship in between. 3. Now, go back to your document with data dictionary. On top of the document there is a toolbar. Click on the Refresh button. 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

Related Links User's Guide - Drawing entity relationship diagram User's Guide - Developing a report in Report Composer - How to Customize Element Templates in Doc. Composer? What is Entity Relationship Diagram (ERD)? Visual Paradigm home page (https://www.visual-paradigm.com/) Visual Paradigm tutorials (https://www.visual-paradigm.com/tutorials/) https://www.visual-paradigm.com/tutorials/data-modeling-data-dictionary.jsp Page 10 of 10