0% found this document useful (0 votes)
307 views26 pages

Using Erwin To Model Your Data: Supplied by Computer Associates As Part of Allfusion

This document provides instructions for using ERWin software to model data and generate database schemas. It describes how to open and customize ERWin, add entities, attributes, relationships and foreign keys to logical models, convert logical models to physical ones, choose database and schema generation options, and preview or generate the SQL needed to set up the schema based on the physical model.

Uploaded by

Devi Vara Prasad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
307 views26 pages

Using Erwin To Model Your Data: Supplied by Computer Associates As Part of Allfusion

This document provides instructions for using ERWin software to model data and generate database schemas. It describes how to open and customize ERWin, add entities, attributes, relationships and foreign keys to logical models, convert logical models to physical ones, choose database and schema generation options, and preview or generate the SQL needed to set up the schema based on the physical model.

Uploaded by

Devi Vara Prasad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 26

Using ERWin to model your

data
Supplied by Computer Associates
as part of AllFusion

ERWin
To open, choose the following path:
Program files > CA Associates > AllFusion >
ERWin Data Modeler > ERWin

Starting ERWin

Use the logical/physical type

Pick your model type

Blank model

Change the model properties


The model properties
can be changed by
choosing model from
the menu across the
top, and then model
properties.
Click the NOTATION
tab and select the IE
notation for both
logical and physical
models.

Customise the tool bar


Choose view, toolbars and toolbox.
This will give icons to allow you to add
entities and relationships from the toolbar.

Alternately, to add
Entities
Right click on the entity icon in the browser
The browser is the left panel on the screen

To add attributes
Expand the entity icon.
Right click on the attributes icon and add
an attribute.
Right click on the attribute, to open the
properties.
Here, primary keys can be set and data types
can be allocated.

Adding foreign keys

How to
Open the parent relationship from the
course.
Choose the student as child entity.
Note, if you tick identifying, the key will
become part of the primary key of the child
entity. You may NOT WANT THAT!

Result of identifying

Non-identifying

To get physical

Drop down the logical box to get


physical.

To generate a schema
Use the physical model
Choose the database as Oracle 9.x
Theres no 10g available.

Choose Forward Engineer / Schema


generation
Ensure that you go through each of the
generated items, and set the ticks
correctly, as shown in next slides.

Schema options

View options

Table options

Column options

Index options

Referential Integrity

Trigger

Other options

When all parameters chosen


Click Generate, if you can connect to your
schema, otherwise,
Click Preview
This gives you the SQL you need to run to set
up your schema in the way you have
configured it.
You can save that SQL in a file and run it.

Preview

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy