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

Create Attributes

Models and Model Objects > Logical Data Model > Attributes > Create Attributes

To create an attribute in LER model

  • Double-click an entity on the Workspace to open the Entity Properties form | Attributes tab | Add.

or

  • Model Explorer | Entities folder | Unfold the selected entity. | Right-click the Attributes item. | Add Attribute.

Entity Properties attribute columns:

Option/Column Description

Ident.

Graphical representation of unique identifier of particular attributes

Caption

Logical attribute name

Name

Physical attribute name

Data Type

Data Type of an attribute

Mandatory

The Mandatory selection box

Status

Status of Items in Grids

Buttons:

- opens the Application Variables form

Add - adds an attribute

Edit - opens the Attribute Properties dialog

Delete - deletes selected attribute

- changes position of selected attribute - up and down

Edit Attributes

Models and Model Objects > Logical Data Model > Attributes > Edit Attributes
  • In the Entity Properties dialog | Attributes tab, double-click the selected attribute.

or

  • Find the attribute in Model Explorer | EntityName folder | Attributes | Double-click the selected attribute.

Option Description

Above the Object Navigator Dropdown Menu, you can see name of entity that the attribute belongs to. Click the button on top right-hand corner to open the parent form (Entity Properties form).

Object Navigator Dropdown Menu

All attributes of selected entity are listed here. The box allows you to edit attributes quickly and comfortably from one place.

General Tab

Description

Caption

Logical attribute name.

Name

Physical attribute name.

Data Type

Data Type selection box.

Domain

Domain selection box.

Note: It's not possible to assign a data type and a domain to an attribute at the same time. If you select a domain, appropriate data type will be set automatically from the domain.

Default Rule

Default selection box. Defaults are converted to physical model also.

Logical Only

Select this checkbox to not convert the attribute to physical model during LER to PER conversion.

Mandatory

Mandatory items will be converted to Not Null items in physical model.

Rules Tab

A tab where you assign rules to the attribute. Rules are used for the generation of Rules in physical model and later for Check Constraints in the generated SQL code (generated from physical model). In Rules, check constraints for multiple columns can be defined, for example.

Valid Values Tab

Valid values can be defined for the following data types:

  • Bigint
  • Float
  • Integer
  • Char
  • VarChar

Valid values are used for generation of simple check constraints.

 

Valid values can be defined as Enumeration (for VarChar data type, for Example) or as a Range (for Integer data type.)

As soon as you add a new Enumeration, the in-place editor in the Enumeration box will activate automatically.

 

Note: In Toad Data Modeler, valid values in LER model  = check constraints in PER model (feel free to check out the conversion).

If the Valid Values tab is not available (depends on the selected data type), you can use rules (see the Rules tab).

Description Tab You can enter the object description here.

To Do Tab

You can enter To Do tasks related to the object here.

Note: To display all To Do tasks, select To Do from Model menu.

Unique Identifiers

Create Unique Identifiers

Models and Model Objects > Logical Data Model > Unique Identifiers > Create Unique Identifiers

To create a unique identifier

In the Entity Properties dialog, tab Attributes, double-click the space in the Ident. column next to the selected attribute.

To create a new key

  1. In the Entity Properties form | Unique Identifiers tab | click Add.
  2. Edit the new unique identifier and on tab Attributes, assign an attribute to it.

Important: Primary keys are graphically marked by red key.

Keys do NOT migrate in Logical models, only in Physical models. In Logical model, only logical information is available and the relationships have only a logical meaning (therefore keys do not migrate). In Physical model the information about foreign keys is necessary, that's why after converting your Logical model to Physical model, FKs will migrate properly. This process is done automatically.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating