Chat now with support
Chat with Support

Toad Data Modeler 6.3 - 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

Script Generation

Databases > Microsoft SQL Server 2000 > Script Generation

Note: To generate the table, column descriptions for SQL Server db in Toad Data Modeler, schema/owner has to be defined. Please see the Entity Properties form | General tab and from the Schema box select a schema or click the icon on the right to open the Schema dialog and define a new schema, then select it for the entity.

Microsoft SQL Server 2005

Reverse Engineering

Databases > Microsoft SQL Server 2005 > Reverse Engineering

See Reverse Engineering - Microsoft SQL Server 2000 for more information.

Note: Comments on views and their columns are reversed. Comments on views are stored in the View Properties dialog | Description tab. Comments on view columns are loaded to View Properties dialog  | After Script tab (if you want to create them during model creation, you need to enter them manually - and in this form: --comment and/or /*comment*/.

Specifics

Databases > Microsoft SQL Server 2005 > Specifics

Entity

Take notice of the Data Space area. If you click Filegroup, list of file groups will become available. If you select Partition Scheme, the options will change.

Description text box - The description text is generated in final DDL script.

Note: To generate the table, column descriptions for SQL Server db in Toad Data Modeler, schema/owner has to be defined. Please see the Entity Properties form | General tab and from the Schema box select a schema or click the icon on the right to open the Schema dialog and define a new schema, then select it for the entity.

 

Fulltext Index Tab

 

Attribute

Data Types:

Char, NChar, NText, NVarChar,  NVarChar(max), Text, VarChar,  VarChar(max)  - the Collation box available.

Unique indentifier - Select this item to display the Row GUID Column checkbox.

XML - You can define details on xml attribute on tab XML Data Type Properties.

Computed Column - It is not a data type. Select this item if you want to set column as computed.

 

Identity - Define Identity properties.

Default rule Is Default Object - Select this checkbox to bind default rule (known as default object in Microsoft SQL Server)  to attribute.

Rule Object - Select a rule object that will be bound to attribute.

  

Key

Take notice of the Data Space area. If you click Filegroup, list of file groups will become available. If you select Partition Scheme, schemes will be available.

Index Options Tab

Detailed settings for index of the key should be defined here.

   

Index

 

Index Options Tab

Detailed settings of the index should be defined here.

 

Trigger

CLR Trigger - If you select this checkbox, you can define CLR trigger on tab CLR Trigger.

 

Dictionary Type

Here, you can enter alias data types.

Default Object - Select a default object that will be bound to dictionary type (alias data type in Microsoft SQL).

Rule Object - Select a rule object that will be bound to dictionary type (alias data type in Microsoft SQL).

 

User Data Type

Here, you can enter CLR user-defined types.

Users

  • CREATE USER statements are supported for SQL Server 2005 and higher - they have to be defined in User Properties new tabs - SQL, After Script, Before Script.
  • User permissions are loaded into Users After Script when SQL Server databases are Reverse Engineered.

Domain

Data Types:

  • XML data type - define XML data type properties.
  • Computed Column - Computed Column Expression box, Persisted Computed Column checkbox.
  • Character - define Collation for the Column.

Schema

New property for Schemas - Authorization (Owner Name)

View

 

Procedure

Types of Stored Procedure:

  • Stored Procedure
  • CLR Stored Procedure
  • Extended Stored Procedure
 

Functions

Types of functions:

  • Scalar Function
  • Table Valued Function
  • CLR Scalar Function - Appropriate options and tab will appear.
  • CLR Table Valued Function - Appropriate tab will appear in the dialog.
  • Aggregate Function

Select a type and see the options that display then.

 

Defaults

If you want to generate default as default object, you have to select the Generate checkbox.

 

Check Constraint Rules

If you want to generate check constraint rule as rule object, you have to select the Generate checkbox.

 

Synonym

If you want to enter object that is not in the Object box, select the Base Object is not in List checkbox and enter the object in the new Base Object box.

See othe objects in Model Explorer:

  • Partition Functions
  • Partition Schemes
  • Filegroups
  • XML Schema Collections
  • Fulltext Catalogs
  • Assemblies

Example of Partition Function:

Example of Fulltext Catalog:

Filegroup and Path parameters are used only in Microsoft SQL Server 2005.

If you want to write complete DDL statement for fulltext catalog, select Generate SQL Only checkbox and write the statement to SQL tab that will display then.

Extended Properties

Extended Properties are supported for the following objects (generally where comments are supported):

  1. Objects with new tab Extended Properties.
  2. Objects for which Extended Properties are loaded during reverse engineering as a text as for example After Script, function parameters, procedure parameters, view columns, key/index/foreign key for Filetable.
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating