Chat now with support
Chat with Support

Welcome, erwin customers to Quest Support Portal click here for for frequently asked questions regarding servicing your supported assets.

Toad Data Modeler 7.1 - 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 Oracle 10g Oracle 11g Release 1 Oracle 11g Release 2 Oracle 12c Release 1 Oracle 12c Release 2 Oracle 18c Oracle 19c PostgreSQL 9.0 PostgreSQL 9.1 PostgreSQL 9.2 PostgreSQL 9.3 PostgreSQL 9.4 PostgreSQL 9.5 PostgreSQL 10 PostgreSQL 11 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

Reverse Engineering

Available Data Providers are:

  • Connection via ADO
  • Native Connection
  • Connection via TCP/IP

Connection via ADO:

Native Connection:

Connection via TCP/IP

Note:

  1. If the following error message occurs in the Log area: "Unable to reverse users, roles and permissions. You haven't assigned the SELECT_CATALOG_ROLE role!", it means you have not all the necessary rights to load users, roles and permissions.
  2. To load these items successfully, you need to have the  SELECT_CATALOG_ROLE role assigned or need to set a right for user to SELECT tables DBA_USERS, DBA_ROLES, DBA_ROLE_PRIVS, DBA_TAB_PRIVS.
  • Missing access to system table ALL_TABLES.
  • Missing privilege SELECT on system table ALL_TABLES.

Note: Connection via TCP/IP does not support Oracle native encryption.

Oracle 11g Release 2

View

New parameter Editioning - Edition View checkbox.

Restriction area - You can define a constraint for restriction READ ONLY or WITH CHECK OPTION.

Edition

The Edition object can be generated in DDL script and also loaded during reverse engineering.

The following objects can refer to the extra object Edition: Synonym, View, Function, Procedure, Package, Type, Trigger. See their Properties dialog and the new tab Edition | In Edition box.

Edition - Reverse Engineering

RE Wizard | page Options| checkbox Load Objects* Only from Selected Edition: and a box where you can type name of the Edition from which you want to load objects. During RE, all objects to which the defined edition refers are loaded. In the reversed model, the Edition is written on tab Edition in the Properties dialogs of these objects that have been newly defined or modified in the database for the Edition typed in the box.

Edition - DDL Script Generation

DDL Script Generation dialog | Detail Settings tab | checkbox Generate Change of Edition in Session. Select this checkbox if you want Toad Data Modeler to take into account for the script generation an edition defined on tab Edition in Properties dialog of particular object.
Example of what will be generated in DDL script:

Before object definition:

ALTER SESSION SET EDITION = object_edition

After object definition:

ALTER SESSION SET EDITION = ora$base

Note: This is an example of default edition ora$base. Default edition is defined in Model | Model Properties dialog | Database Parameters tab | Default Edition Name box.

 

Trigger (Entity)

Parameter CROSSEDITION - Select the Crossedition Trigger checkbox to display a combo-box with options Not Specified, Forward Crossedition, Reverse Crossedition.

Trigger Ordering area - parameter FOLLOWS and PRECEDES. The Type combo-box offers options Follows or Precedes. In the Trigger List box, you can write a list of triggers (e.g. triggername1, triggername2).

 

Trigger (View)

From the Trigger Fire box, you can select items COMPOUND, INSTEAD OF, BEFORE and AFTER.

Column List edit box is available when the Update checkbox is selected in Trigger Events section and Trigger Fire option is set to either COMPOUND, AFTER or BEFORE.

For Each Row checkbox and When Condition edit box are enabled based on the Trigger Fire option.

Other objects in Model Explorer:

  • Edition
  • Sequences
  • Packages
  • Directories
  • Tablespaces
  • ExtraObjects
  • Java

 

Change Script

  • Change Script generation- Use Temporary Tables options are now available for all Oracle Databases in Settings and in Change Script generator.

 

Reverse Engineering

Available Data Providers are:

  • Connection via ADO
  • Native Connection
  • Connection via TCP/IP

Connection via ADO:

Native Connection:

Connection via TCP/IP

Note:

  1. If the following error message occurs in the Log area: "Unable to reverse users, roles and permissions. You haven't assigned the SELECT_CATALOG_ROLE role!", it means you have not all the necessary rights to load users, roles and permissions.
  2. To load these items successfully, you need to have the  SELECT_CATALOG_ROLE role assigned or need to set a right for user to SELECT tables DBA_USERS, DBA_ROLES, DBA_ROLE_PRIVS, DBA_TAB_PRIVS.
  • Missing access to system table ALL_TABLES.
  • Missing privilege SELECT on system table ALL_TABLES.

Note: Connection via TCP/IP does not support Oracle native encryption.

Script Generation

On tab What to Generate see the Editions object.

User Data Types - Click the Extended Values column and see option CREATE OR REPLACE ... FORCE.

Note: The option is used for CREATE OR REPLACE type. It permits to overwrite a type on which another type depends. If only CREATE OR REPLACE is selected, it leads to error notification.

Detail Settings tab | checkbox Generate Change of Edition in Session. Select this checkbox if you want Toad Data Modeler to include an edition defined on tab Edition in Properties dialog of particular object for the DDL script generation.
Example of what will be generated in DDL script:

Before object definition:

ALTER SESSION SET EDITION = object_edition

After object definition:

ALTER SESSION SET EDITION = ora$base

Note: This is an example of default edition ora$base. Default edition is defined in Model | Model Properties dialog | Database Parameters tab | Default Edition Name box.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating