Escolar Documentos
Profissional Documentos
Cultura Documentos
com
MENU
SIDEBAR
HOME
Business Process & Business Modeling:
Modeling Types
Modeling Methods
Business Process
Workflows
Advantages of BPM
Procurement BPO
DM Tools Erwin
DM Tools Xcase
Identifying Relationship
Comparison
Star Schema
Dimensions
Snowflake Schema
Fact Table
Interview Questions
DM Interview Questions
Database Objects
DML Statements
Database RDBMS
ETL Tools
Informatica Transformations
ETL Concepts
ETL Testing
Business Metadata
Technical Metadata
OLAP Analysis
Metadata Reports
BI Dashboards
BI Scorecards
LearnDataModeling.com
MENU
SIDEBAR
There are a number of data modeling tools to transform business requirements into logical data model, and logical data
model to physical data model. From physical data model, these tools can be instructed to generate sql code for creating
database.
Company Name
Erwin
Computer Associates
Embarcadero
Embarcadero Technologies
Rational Rose
IBM Corporation
Power Designer
Sybase Corporation
Oracle Designer
Oracle Corporation
Xcase
RESolution LTD.
Related Posts
Data Modeling Tools: What to Learn?
Data Modeling Tools What to Learn? Part 2
Data Modeling Standards | Modeling Data
Comparison of Logical and Physical Data Modeling
Creating a Logical Data Model using Erwin
How to create a physical data model from a logical data model using Embarcaderos Data Architect?
(Visited 2,124 times, 4 visits today)
tagged with Data Model Tool directory, Data Model Tool List, data modeling tools, Data Modeling Tools directory list, Data
Modeling Tools list
Data Modeling Tools
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Post Comment
LearnDataModeling.com
MENU
SIDEBAR
Data modeling tools are the only way through which we can create powerful data models. Following are the various
options that we have to know and learn in data modeling tools before start building data models.
Related Posts
Data Modeling Tools
Data Modeling Tools What to Learn? Part 2
Data Modeling Standards | Modeling Data
Creating a Physical Data Model using Erwin
How to add identifying, non-identifying, self-recursive relationship in ER Studio Data Architect?
Data Modeling Tools Xcase
(Visited 912 times, 2 visits today)
tagged with data modeling tools, Data Modeling Tools uses, What to Learn in Data Modeling Tools?
Data Modeling Tools
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Post Comment
LearnDataModeling.com
MENU
SIDEBAR
ERWIN TUTORIAL
July 16, 2015
learndmdwbi
Leave a comment
How to create a Logical Data Model using CA Erwin Data Modeler Version 9?
In the following section, a simple example with a step by step procedure to create a logical data model with two entities
and their relationship are explained in detail.
How to create a Physical Data Model using CA Erwin Data Modeler Version 9?
Change the view from Logical to Physical from the drop down list.
If you want to add some physical properties, you can add it here.
Explanation:
In the logical view: When you right click and view entity properties for entity Country, you can see tabs like volumetrics,
definition, style, icon, where used, UDP, NOTES etc. The information that you fill will explain about entity properties.
In the physical view: when you right click and view table properties for table country, you can see tabs like table options,
general, partitions, supplemental logging, validation, materialized view log, style, icon, synonym comment, object creation
order, where used, UDP, Notes etc.
If you are an expert, then you can fill relevant details in the above mentioned tabs so that it will be useful while creating
scripts. If you are not an expert, you can discuss with DBAs, get relevant information and fill details.
How to generate DDL(sql) scripts to create a database using CA Erwin Data Modeler
Version 9?
Click menu edit. Navigate to selection and click select all. Objects bank and country will be highlighted.
Click the forward engineer schema generation icon in the database tool bar. A new Wizard appears.
There are two boxes. On the left side box, you can several database objects. On the right side box, you can see
different options for each object.
Database
Schema
Storage
Table
Column
Materialized View
View
Index
Referential Integrity
Trigger
Other Options
Click preview. You can see the sql code generated by Erwin data modeler tool.
CREATE TABLE Country ( Country_Code VARCHAR2(2) NOT NULL ,
Country_Name VARCHAR2(50) NOT NULL ,
CONSTRAINT XPKCountry PRIMARY KEY (Country_Code) );
CREATE TABLE Bank ( Bank_Code VARCHAR2(2) NOT NULL ,
Bank_Name VARCHAR2(50) NOT NULL ,
Country_Code VARCHAR2(2) NOT NULL ,
CONSTRAINT XPKBank PRIMARY KEY (Bank_Code),
CONSTRAINT Country_to_Bank FOREIGN KEY (Country_Code) REFERENCES Country (Country_Code) );
Related Posts
Creating a Logical Data Model using Erwin
Creating a Physical Data Model using Erwin
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Post Comment
LearnDataModeling.com
MENU
SIDEBAR
Xcase Overview:
Xcase is a powerful and intuitive data modeling tool. It automates database creation and maintenance, making the
modeling process simple and visual. The tool provides tight support for the leading DBMS and an impressive set of
capabilities.
Using Xcase, data modelers can create data models from scratch or from existing databases using the Reverse
Engineering module. Once the model is complete, Xcase Forward Engineering module generates all the DDL scripts
necessary to create a new database or update an existing one.
Manage different versions of your model/database using the advanced Version Control module compare a
model to the actual database, to another model or to a previous version of the same model and generate a detailed
report of all discrepancies found.
Synchronize your model with the database using the 2-way synchronization feature. Xcase provides a detailed
report on discrepancies found between the model and the database and allows you to update the model based on the
actual database structure or update the database based on your model.
Automatically generate all the code necessary to create and maintain the database without jeopardizing existing
data.
Validate the data in the database against the business rules defined in the model.
Access and edit the data relationally using automatic parent/child browsers and lookups.
Migrate the database metadata and data from one DBMS to another.
Note: For more information, refer the Xcase data modeling web page.
Related Posts
Data Modeling Tools: What to Learn?
Creating a Physical Data Model using Erwin
Advantages of Business Process Management
Data Modeling Tools
Erwin Tutorial
Steps to create Data Model
(Visited 366 times, 1 visits today)
tagged with data modeling tool xcase, Data Modeling using xcase, xcase data modeling
Data Modeling Tools
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Post Comment
Home
Big
HTML5
Data
AdChoices
Database Tools
MS Excel
Databases
Visio 2007
Software
Basics
Tools
Visio Diagram
Visio
HTML 5
Visio, can be used to design complex ER diagrams and it comes in three different editions (i.e)
HTML 5 - Overview
Visio Standard 2003, Visio Professional 2003, and Visual Studio .NET 2003 Enterprise Architect.
HTML 4 vs HTML 5
These editions have different commands associated with data modeling and for differences and
Databases
Databases - Overview
Create a database model or ER diagram: You can create tables, columns, foreign key
relationships, data types, indexes, views, extended properties for tables, views, check clauses,
stored procedures and triggers.
Reverse engineer an existing database: By using already installed Visio drivers, you can connect
to IBM DB2 Universal Database, Informix, Online/SE Server, Microsoft Access, Microsoft SQL
Server, ODBC Generic Driver, Oracle Server, Sybase Adaptive Server Enterprise etc.
Forward engineer an existing database.
Database Design
Informix Database
MS Visio
Software Tools
Microsoft Visio - Tutorial
Basics
Information Technology
Operating System
Server
Mainframe
Computer Networking
C Language
XML Language
Testing
EAI
ERP - Overview
ERP Tools
Oracle Apps - Overview
Oracle Apps
Implementation
Privacy Policy | Disclosure Policy | Copyright 2005 IToverview.com. All Rights Reserved.
Home
Big
HTML5
Data
AdChoices
Visio
MS Excel
Databases
Database Tools
Software
Basics
Tools
ER Diagram
HTML 5
HTML 5 - Overview
HTML 4 vs HTML 5
HTML 5 - New Features
Databases
Databases - Overview
Oracle 12c Installation
Create Database in
Oracle 12c
Excel Tutorial
Microsoft Excel 2013 Overview
Features & Functions
Function Vs Formula
Functions using
Operators
Logical Functions
DATE/TIME Functions
Lookup Functions
More Topics
AdChoices
relationship i.e a line drawn from Bank. Now drag that arrow until you drop it on the
Mainframe
COUNTRY_CODE column of COUNTRY table. When you did that, you can see a new column
Computer Networking
"COUNTRY_CODE" in BANK table, that has been inherited from COUNTRY table.
C Language
12. Place the cursor on the relationship and you can edit the database properties of that
relationship.
XML Language
Testing
13. You can give a name, change the cardinality, identifying and non-identifying relationship, etc.
EAI
14. Now the data model is ready and if you have a higher version of Visio, then you can forward
ERP - Overview
engineer the data model to create DDL scripts for creating a database.
ERP Tools
Oracle Apps - Overview
Oracle Apps
Implementation
Privacy Policy | Disclosure Policy | Copyright 2005 IToverview.com. All Rights Reserved.
LearnDataModeling.com
MENU
SIDEBAR
Now, we are going to make changes to the previously created data model. So create another file
LDM_creating_entity_version2. Open the previous data model LDM_creating_entity_version1 and click menu file/save as
LDM_creating_entity_version2.
How to add entity and attributes in ER Studio Data Architect:
Add the following attributes to Employee Entity. Place the cursor in attribute section of Employee Entity, right click edit
entity. Click attributes tab and add the following attributes.
Employee Name with data type as Varchar(50); NOT NULL;
Incentive Indicator with datatype as Char(10); NOT NULL;
Phone Number with datatype as Char(12); NULL;
You can use UP or DOWN arrow keys to align the attributes.
Create another entity Address with Address Identifier as attribute, datatype as Integer and Address identifier as primary
key.
Address ID should be a sequence number.
How to create a sequence number in ERStudio Data Architect:
When you add an attribute, you can see a section Identity Property. Click the check box in Identity column.
Type 1 for seed and 1 for increment. Seed means the starting number of the sequence and increment means how it has to
be incremented.
Create another entity Employee-Address with no attributes. We will explain how to add attributes below.
How to add non-identifying relationship in ER studio data architect?
Department entity to Employee entity:
Many employees can work in one department. One-to-many relationship. Hence we can create this relationship by NonIdentifying Relationship.
Click menu Insert/Relationship/Non-Identifying mandatory:
Click the cursor on Department Entity and then on Employee Entity.
Now you can see the non-identifying relationship between department entity and employee identity.
A new attribute Department Number is added to employee entity.
How to add identifying relationship in ER studio data architect?
Employee entity and Address entity: One employee can stay in many addresses.
One address can contain many employees.
Many to many relationship: Identifying relationship
Create address entity with address id as the primary key.
Click menu Insert/Relationship/Identifying
Click the cursor on employee entity and employee address entity. Again click on address entity and then on employeeaddress entity.
Now you can see the identifying relationship in employee address entity.
Two new attributes employee number, and address identifier are added as primary keys to employee-address entity. Since
two keys are there, it is called as composite primary keys.
How to add self-recursive relationship in ER studio data architect?
To connect relationship between an employee and a manager: There is no attribute which references the employee
number in the employee entity. So we will create a new attribute Manager Number by using self-recursive relationship.
When we want to create an attribute in an entity that references the same primary key attribute, we have to create role
name, because, two attributes cannot have the same name in the same table.
In this example, the parent entity and child entity are same (employee entity).
Click menu Insert/Relationship/Non-Identifying mandatory
Click the cursor on employee entity twice. You can see a new screen. Type role name as manager number.
You can see a new attribute manager number in employee entity.
If you want to know more about the relationship, click each relationship line and you can see different options.
Related Posts
How To Create A Logical Data Model In ER Studio Data Architect?
Creating a Logical Data Model using Erwin
How to create a physical data model from a logical data model using Embarcaderos Data Architect?
How To Create Naming Standards In Embarcaderos Data Architect?
Data Modeling Tools: What to Learn?
Creating a Physical Data Model using Erwin
(Visited 257 times, 1 visits today)
tagged with how to add identifying relationship in in ER Studio data architect, how to add non-identifying relationship in ER
Studio data architect, how to add self-recursive relationship in ER Studio data architect, how to create a role name in ER
Studio data architect
Data Modeling Tools
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Post Comment
LearnDataModeling.com
MENU
SIDEBAR
Now, we are going to make changes to the previously created data model. So create another file
LDM_creating_entity_version2. Open the previous data model LDM_creating_entity_version1 and click menu file/save as
LDM_creating_entity_version2.
How to add entity and attributes in ER Studio Data Architect:
Add the following attributes to Employee Entity. Place the cursor in attribute section of Employee Entity, right click edit
entity. Click attributes tab and add the following attributes.
Employee Name with data type as Varchar(50); NOT NULL;
Incentive Indicator with datatype as Char(10); NOT NULL;
Phone Number with datatype as Char(12); NULL;
You can use UP or DOWN arrow keys to align the attributes.
Create another entity Address with Address Identifier as attribute, datatype as Integer and Address identifier as primary
key.
Address ID should be a sequence number.
How to create a sequence number in ERStudio Data Architect:
When you add an attribute, you can see a section Identity Property. Click the check box in Identity column.
Type 1 for seed and 1 for increment. Seed means the starting number of the sequence and increment means how it has to
be incremented.
Create another entity Employee-Address with no attributes. We will explain how to add attributes below.
How to add non-identifying relationship in ER studio data architect?
Department entity to Employee entity:
Many employees can work in one department. One-to-many relationship. Hence we can create this relationship by NonIdentifying Relationship.
Click menu Insert/Relationship/Non-Identifying mandatory:
Click the cursor on Department Entity and then on Employee Entity.
Now you can see the non-identifying relationship between department entity and employee identity.
A new attribute Department Number is added to employee entity.
How to add identifying relationship in ER studio data architect?
Employee entity and Address entity: One employee can stay in many addresses.
One address can contain many employees.
Many to many relationship: Identifying relationship
Create address entity with address id as the primary key.
Click menu Insert/Relationship/Identifying
Click the cursor on employee entity and employee address entity. Again click on address entity and then on employeeaddress entity.
Now you can see the identifying relationship in employee address entity.
Two new attributes employee number, and address identifier are added as primary keys to employee-address entity. Since
two keys are there, it is called as composite primary keys.
How to add self-recursive relationship in ER studio data architect?
To connect relationship between an employee and a manager: There is no attribute which references the employee
number in the employee entity. So we will create a new attribute Manager Number by using self-recursive relationship.
When we want to create an attribute in an entity that references the same primary key attribute, we have to create role
name, because, two attributes cannot have the same name in the same table.
In this example, the parent entity and child entity are same (employee entity).
Click menu Insert/Relationship/Non-Identifying mandatory
Click the cursor on employee entity twice. You can see a new screen. Type role name as manager number.
You can see a new attribute manager number in employee entity.
If you want to know more about the relationship, click each relationship line and you can see different options.
Related Posts
How To Create A Logical Data Model In ER Studio Data Architect?
Creating a Logical Data Model using Erwin
How to create a physical data model from a logical data model using Embarcaderos Data Architect?
How To Create Naming Standards In Embarcaderos Data Architect?
Data Modeling Tools: What to Learn?
Creating a Physical Data Model using Erwin
(Visited 257 times, 1 visits today)
tagged with how to add identifying relationship in in ER Studio data architect, how to add non-identifying relationship in ER
Studio data architect, how to add self-recursive relationship in ER Studio data architect, how to create a role name in ER
Studio data architect
Data Modeling Tools
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Post Comment
LearnDataModeling.com
MENU
SIDEBAR
Create a .csv file named Naming_Standards.csv and store the following information in that csv file. The reason for
creating this file is to avoid errors and typos in our naming conventions and data modeling naming convention standards
can also be followed. We have eliminated VOWELS in the actual word so that physical object names will not exceed the
actual length provided by the database. Later this file will be created in .nst format (embarcaderos naming standards
format) and has to be attached to the physical data model that we will create in the next section. This file (.nst) can be
attached to all data models created across the enterprise.
Note: We are not providing naming standards for logical data model.
Step1: Creating .csv file and storing it as Naming_Standards.csv
Open your Microsoft Excel and type the following data. Then store it in .nsv format.
DEPARTMENT
DPRTMNT
NUMBER
NMBR
NAME
NM
ADDRESS
ADDRSS
IDENTIFIER
IDNTFR
EMPLOYEE
EMPLY
MANAGER
MNGR
SALARY
SLRY
DATE
DT
OF
OF
JOINING
JNNG
PHONE
PHN
NUMBER
NMBR
INCENTIVE
INCNTV
INDICATOR
INDCTR
Related Posts
How to create a physical data model from a logical data model using Embarcaderos Data Architect?
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Post Comment
LearnDataModeling.com
MENU
SIDEBAR
2: Click Tools from main menu and then click Forward Engineer/Schema Generation from the sub menu which will take
you to the Schema Generation Wizard. Select the appropriate properties that satisfies your database requirements like
schema, table, primary key etc. Click preview to see your scripts. Either you can click to generate the table in a database or
you can store the scripts and run against the database later.
The DDL(sql) scripts generated by Erwin by following the above steps looks similar to the following script.
CREATE TABLE Country(Country_Code VARCHAR2(10) NOT NULL,
Country_Name VARCHAR2(50) NOT NULL,
CONSTRAINT PK_Country PRIMARY KEY (Country_Code));
CREATE TABLE Bank(Bank_Code VARCHAR2(10) NOT NULL,
Bank_Name VARCHAR2(50) NOT NULL, Country_Code VARCHAR2(10) NOT NULL,
CONSTRAINT PK_Bank PRIMARY KEY(Bank_Code) );ALTER TABLE Bank ADD( CONSTRAINT FK_Bank
FOREIGN KEY (Country_Code) REFERENCES Country );
Note: This is not a complete tutorial on Erwin. We will add more Tips and Guidelines on Erwin in near future. Please visit
us soon to check back. To know more about Erwin, contact its official website www.ca.com.
Related Posts
Erwin Tutorial
Creating a Logical Data Model using Erwin
How To Create A Logical Data Model In ER Studio Data Architect?
How to create a physical data model from a logical data model using Embarcaderos Data Architect?
Data Modeling Tools: What to Learn?
Data Modeling Tools
(Visited 3,819 times, 14 visits today)
tagged with Creating a Physical Data Model using Erwin, erwin physical data model, Erwin Physical data Modeling, Erwin
Physical data modeling and database, how to create physical data model using erwin
Data Modeling Tools
LEAVE A REPLY
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Post Comment