Using Vision to
Create E/R Diagrams
- Start Visio – Start > Programs > Microsoft Office
> Microsoft Office Visio 2003
- Choose Database category (on left)
- Choose Database Model Diagram
- Choose Conventions/ Notation to use – Database >
Options > Document
- On the General tab, make sure “Relational” chosen
- On the Relationship tab, make sure “Relationships”,
“Cardinality”, “Show Verb Phrase”, and “Forward Text” are selected
- Adding entities – click on entity icon in left panel and
drag to desired location, then update properties:
- Under definition, type Conceptual Name in
- Under Columns, type info for each attribute – Physical
Name, choose data type, check if Required and/or PK
- Adding Relationships – click on relationship icon in left
panel, drag to the entity that is referenced (border will turn red), then
drag other end to the referencing entity (entity with the foreign key
(FK)). Then update properties:
- Under Name, type Verb Phrase
- Under Miscellaneous, select most appropriate cardinality
(for the direction of the reference)
- Under Referential Action, select the most appropriate
handling
- Save – File > Save> specify filename