Chat now with support
Chat with Support

Toad Data Modeler 7.0 - User Guide

Introduction User Interface Models and Model Objects
Physical Data Model
Entity Relationship Diagram Objects Basic Database Design Advanced Database Design
Universal Data Model Logical Data Model Working with Model Objects
Features and Tools
Application Variables Export/Import DDL Script Generation Graphics Model Actions Print Create New Project Reports Reverse Engineering Scripting and Customization About Templates Tips and Tricks Toad for Oracle Integration Toad Intelligence Central (TIC) Integration Tools Version Control
Options and Configuration Databases
Amazon Redshift 1.0 IBM DB2 LUW 9.5 IBM DB2 LUW 9.7 IBM DB2 LUW 10.1 IBM DB2 LUW 10.5 IBM DB2 LUW 11.1 IBM DB2 z/OS 10 IBM DB2 z/OS 11 Greenplum 4.1 Greenplum 4.2 Ingres 9.3 Ingres 10.0 EDB Postgres Advanced Server 10 Microsoft Access 2007/2010 Microsoft Azure SQL Database V12 Microsoft SQL Server 2005 Microsoft SQL Server 2008 Microsoft SQL Server 2012 Microsoft SQL Server 2014 Microsoft SQL Server 2016 Microsoft SQL Server 2017 MySQL 5.0 MySQL 5.1 MySQL 5.5 MySQL 5.6 MySQL 5.7 MySQL 8.0 Oracle 10g Oracle 11g Release 1 Oracle 11g Release 2 Oracle 12c Release 1 Oracle 12c Release 2 Oracle 18c Specifics - Oracle 12c Release 2 PostgreSQL 9.0 PostgreSQL 9.1 PostgreSQL 9.2 PostgreSQL 9.3 PostgreSQL 9.4 PostgreSQL 9.5 PostgreSQL 10 SQLite 3.7 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
Copyright Legal Notices

User Groups

Toad Data Modeler allows you to define Users and assign them to User Groups. You can then assign User and User Groups permissions to objects.

To add a user group

Click on the Users Toolbar and click Add in the displayed dialog.

or

In Model Explorer | Right-click the User Groups folder | Add User Group.

To edit a user group

Go to Model Menu | Model Items | User Groups | double-click the selected user group or click Edit.

or

In Model Explorer | User Groups folder | double-click the selected user group or right-click | Edit.

Option Description
Object Navigator Box All user groups of your model are listed here. The combo-box allows you to edit them, one by one from one place. Use Apply to confirm all the changes you make.
General Tab Description
Caption Logical user group name
Name Physical user group name
Membership Tab Description
Available Available user groups
Selected Selected user groups
Members Tab Description
User Groups section

You can create another group in already existing group. (This is possible for some databases.)

From the list of existing groups, select a group and click the Add arrow button.

Users section

Here, you can assign users to a group.

Note: You can assign users to a user group also in the Users dialog.

To Do Tab

On this tab, you can write some tasks on the selected user group.   

Note: To see all To Do tasks, select Model | To Do.

Note:

  1. To copy user groups, use CTRL + Drag&Drop techniques.
  2. To move user groups, use Drag&Drop techniques.
    You can copy and move your user groups within a model and between models of the same and different databases:
  • In User Groups dialog (Model Menu | Model Items | User Groups)
  • In Model Explorer | User Groups folder
  • Between Model Explorer and User Groups dialog
  1. To delete user groups, go to:
  • Model Menu | Model Items | User Groups  | Select a user group and click Delete.
  • Model Explorer | User Groups folder | Right-click and select Delete Item.

Basic Database Design

Toad Data Modeler allows you to design Entity Relationship Diagrams of specific database platforms, convert physical model from one database platform to another, create an ER Diagram directly from your database (Reverse Engineering feature), update physical models, generate DDL/SQL scripts and Change Scripts, create Dictionary Types, Views, Triggers, Functions, generate detailed documentation to your model (in HTML, RTF, PDF, XSLT formats) and much more.

This chapter describes features and functions related to Physical Data Modeling. Look around each section to get the information you need.

Note: See the sample physical model Videorental (Oracle 10g db) that is included in the installation package of Toad Data Modeler. Default location is: C:\Program Files (x86)\Quest Software\Toad Data Modeler7.0\Samples.

Benefits of Physical Data Model

  • Detailed definition of database structure, including database specific items, for example:
    • Stored procedures
    • Functions
    • Triggers
    • Views
    • Materialized views
    • Sequences (auto increments) etc.
  • Possibility to synchronize local model with existing database.
  • Possibility to specify logical names for objects (captions for tables, attributes and other objects).
  • Detailed database specific information can be exported to HTML/RTF/PDF or XML/XHTML/CSV reports.
  • Automatic generation of SQL code for selected objects (SQL code generation is not available in Logical and Universal Model)
  • Automatic migration of PK attributes to child entities (Attributes don't migrate to child entities in Logical Model)

Select Target Database

The first step to create a model in Toad Data Modeler is to choose your target database.

Scenario

Creating new Oracle 10g physical model named Videorental.

  1. Click on Main Toolbar (or press CTRL+N).
  2. Click the Physical Data Model tab and select the target database - Oracle 10g.
  3. Write Videorental into the Model Name textbox.
  4. Confirm by clicking OK.

Result:

  • The model will be shown in Application View.
  • The All Items workspace displays automatically.
  • The status bar in of Application Window displays the database name. (DB: Oracle 10g in our case.)
  • Most of the menus and toolbars become activated.

Note:

Database Name - The target database for which the model is created (e.g. Oracle 10g). The database name can be found at the bottom of the Application Window or in displayed pop-up hint when you hover your mouse cursor on the model name in the Application View.

  • Model Name - A model can be saved to more files. In Toad Data Modeler, Model Name should be understood as a title of a document that can be saved to several files of a different name.
  • File Name - A name of the file where the model is saved. File Name is defined after you select Save Model or Save Model as.
  • Rename
  • Create Entities

    In Toad Data Modeler, there are several ways how to create entities - on the Workspace, via Model Explorer and in the Entities dialog (Model | Model Items | Entities). Create entities directly on the Workspace.

    Scenario

    Create entity Customer on the Workspace in your Videorental model.

    1. Click on the toolbar (also CTRL+E) and then click anywhere on the Workspace.
    2. Double-click the entity to edit it.
    3. Define the entity caption and name



    Caption

    Logical entity name - Customer.

    Name Physical entity name - T_CUSTOMER.
    1. Define other properties on tab General and other tabs (e.g. Notes, Comments etc.). To save the changes simultaneously and leave the form open, click Apply.
    Related Documents