100 likes | 276 Views
Using ER/Studio. Modeling a Relational Database Using ER Studio. We will use ER Studio as the modeling Tool to build ER diagrams. ER Studio Is a CASE tool providing a Repository (or System Catalog) of an organization’s databases
E N D
Modeling a Relational DatabaseUsing ER Studio • We will use ER Studio as the modeling Tool to build ER diagrams. • ER Studio Is a CASE tool providing a Repository (or System Catalog) of an organization’s databases • Fully specified logical models in ER studio can be used to generate DDL • the code of the create tables statements
Getting to ER Studio Data Architect • Enter ERS in the Search are of the start menu • Click on the ER Studio Data Architect 9.6 icon • Click on tools in the top menu and then select options from the drop-down menu
Set Options to Produce Crow’s-Foot Notation Pick logical Pick options from tools drop-down Choose Crow’s feet notation
Create a New Model • Select File from the top menu and new from the drop down • On the dialog box, ensure that Draw a new data model is checked and that relational is selected, then click OK
Add Entities 2 1 • Click on the entity icon (1) • Move the cursor to the location where you want an entity and click • Repeat to place additional entities in the model area of the screen • Click on the blue arrow (2) when you are through adding entities
Name Your Entities • Double click on an entity to open its Editor • In the Entity Name textbox enter the name you wish to use for your Entity • Click save • Repeat for each entity
Adding 1 to Many Relationships • Click on the relationship icon shown • In the model area click first on the entity that is on the 1 side of the relationship • Then click on the entity on the many side 1 to Many
Adding Many to Many Relationships • Click on the relationship icon shown (described as non-specific realtionship • In the model area click on one of the entities to be linked • Then click on the other entity to complete the relationship Many to Many
Saving the Model Change to desired J drive space • Select file save