Data Moduler Tutorial
Data Moduler Tutorial
1. Execute Data Modeler by clicking View > Data Modeler > Browser.
2. Browser pane will be opened at the bottom-left of the window and then expand Untitled_1, select
Logical Model, right click on it and then click Show. The interface for building E-R model will be
opened.
3. This figure shows the interface. Look at the highlighted options. You are going to use them soon
to build your E-R model.
5. It will open Domain Administration window as shown in the figure. Click Add then give the domain
name and set appropriate parameters. After that, click Apply.
8. Now, you are ready to create your first entity. Click on the icon as shown in the following figure.
9. Now click on the interface. It will generate the following window to edit the entity.
12. Clicking Ok will create your first entity set Instructor. It is shown in the following figure.
14. Next, you need to create a relationship between these two entity sets. Here, an instructor can
have many students as advisee and a student has at most one instructor as advisor. So, you need
to use one to many relationship from Instructor to Student. Choose the highlighted icon in the
previous figure and drag from instructor to student entity set. It would open a new Relation
properties window like the following figure.
16. It is possible to change the cardinality of the relationship by changing the parameter in the
Relation properties window.
17. Save the logical model now. Right click on Untitled_1 and then choose Save Design.
18. It would open another window. Give it a name ‘university’ and click ok. The model is saved.
19. Now click on the highlighted icon in the previous figure to transform the logical model into
Relational Model (Schema Diagram). The following window will open. Click Engineer.
22. Select target database and then click Generate. It will open the following window. Click Ok.