Chat now with support
Chat with Support

Toad Data Modeler 6.2 - User Guide

Introduction User Interface Models and Model Objects
Physical Data Model
About Physical Data Modeling Benefits of Physical Data Model Entity Relationship Diagram Objects Basic Database Design Advanced Database Design
Universal Data Model Logical Data Model Working with Model Objects Model Properties Model Statistics
Features and Tools
Application Variables Export/Import DDL Script Generation Graphics Model Actions Print Projects Reports Reverse Engineering Scripting and Customization SQL Templates Tips and Tricks Toad for Oracle Integration Toad Intelligence Central (TIC) Integration Tools Version Control
Options and Configuration Databases
Supported Databases Connection Types by Database DB2 UDB v. 8 (LUW) DB2 v. 9 (LUW) DB2 v. 9.5 (LUW) DB2 v. 9.7 (LUW) DB2 v. 10.1 (LUW) DB2 v. 10.5 (LUW) DB2 z/OS v. 9 DB2 z/OS v.10 DB2 z/OS v. 11 Greenplum 4.1 Greenplum 4.2 Ingres 9.3 Ingres 10.0 Microsoft Access 2000/2002/2003 Microsoft Access 2007/2010 Microsoft Azure SQL Database Microsoft Azure SQL Database V12 Microsoft SQL Server 2000 Microsoft SQL Server 2005 Microsoft SQL Server 2008 Microsoft SQL Server 2012 Microsoft SQL Server 2014 Microsoft SQL Server 2016 MySQL 5.0 MySQL 5.1 MySQL 5.5 MySQL 5.6 MySQL 5.7 Oracle 9i Oracle 10g Oracle 11g Release 1 Oracle 11g Release 2 Oracle 12c Release 1 Oracle 12c Release 2 PostgreSQL 8.1 PostgreSQL 8.2 PostgreSQL 8.3 PostgreSQL 8.4 PostgreSQL 9.0 PostgreSQL 9.1 PostgreSQL 9.2 PostgreSQL 9.3 PostgreSQL 9.4 PostgreSQL 9.5 SQLite 3.7 Sybase ASE 12.5 Sybase ASE 15 Sybase ASE 15.5 Sybase ASE 15.7 SAP ASE 16.0 Sybase IQ 15.2 Sybase SQL Anywhere 11 SAP SQL Anywhere 17 Teradata 13 Vertica Database 8.0
Legal Information

Notation and Cardinality

Models and Model Objects > Physical Data Model > Basic Database Design > Notation and Cardinality

IE Notation

 

Cardinality

One-to-many relationship is represented by this symbol:

One-to-one relationship is represented by this symbol:

 

Parent: mandatory Child: mandatory

Parent: mandatory Child: optional

Parent: optional Child: mandatory

Parent: optional Child: optional

 

IDF1X Notation

 

Cardinality

,  ,   zero, one or more

one or more

zero or one

 

Parent: mandatory Child: mandatory

Parent: mandatory Child: optional

Parent: optional Child: mandatory

Parent: optional Child: optional

See Synchronization of Not Null and Mandatory Parent for more information.

Relationship Types

Identifying Relationship

Non-identifying Relationship

Non-identifying Self-relationship

M:N Relationship

Mandatory/Optional Parent/Child

Models and Model Objects > Physical Data Model > Basic Database Design > Mandatory/Optional Parent/Child

To set Parent/Child entity as Mandatory/Optional

  1. Double-click a relationship on workspace to open Relationship Properties.
  2. Switch to the General tab and check/uncheck Mandatory Parent/Child checkbox in the Cardinality section.

Parent: Mandatory

Child: Mandatory

A teacher MUST teach a lecture (the record related to lecture is mandatory), a lecture MUST be taught by a teacher (the record related to teacher is also mandatory. Teacher is Mandatory.)

Parent: Mandatory

Child: Optional

A teacher MAY teach a lecture (the record related to lecture is Optional), a lecture MUST be taught by a teacher (Teacher is Mandatory.)

Parent: Optional

Child: Mandatory

A teacher MUST teach a lecture (lecture is Mandatory), a lecture MAY be taught by a teacher (teacher is Optional).

Parent: Optional

Child: Optional

A teacher MAY teach a lecture (lecture is Optional), a lecture MAY be taught by a teacher (teacher is Optional).

The information can be found on Relationship Properties form, see graphical representation at bottom of the form.

Set up Referential Integrity Rules

Models and Model Objects > Physical Data Model > Basic Database Design > Set up Referential Integrity Rules

To set up referential integrity rules for Parent entities

Open the Relationship Properties form and see the Referential Integrity group box.

Here, you can change the None rule to:

  • Restrict
  • Cascade
  • Set Null
  • Set Default

The default rule can be re-configured.

Note: Some databases do not support Referential Integrity (RI) rules.

Connect Parent and Child Entities

Models and Model Objects > Physical Data Model > Basic Database Design > Connect Parent and Child Entities

Toad Data Modeler allows you to connect Parent and Child entities through the following unique values:

  • Key (Primary or Alternate Key) of parent entity
  • Unique Index of parent entity

To change the linking method

  1. Open the Relationship Properties form and see the Relationship Type group box.
  2. From the Parent Key box, select the method. If neither Unique item, nor Alternate Key exists, only the Primary key is available.

Note: Some databases do not support Alternate Keys.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating