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

Tools

About Naming Conventions

Naming conventions can be defined for physical models and used to:

  • Define custom rules for physical names of objects (e.g. adding prefix, suffix, use particular letter case...).
  • Synchronize logical names (captions) and physical names (names) of your objects.
  • Verify your model to see if it matches the naming convention rules. If not, there are quick fixes available to solve any issues.

Note: Naming conventions can be only used to alter physical names (names) of model objects, NOT logical names (captions).

Basic Information About Naming Conventions

  • Naming conventions rules can be set for most physical model objects that have a defines name and a caption.
  • Naming conventions are stored as .txn files in the Documents folder on local drive (Documents | Toad Data Modeler | Installation Name| Naming Conventions).
  • Multiple sets of naming conventions can be created, but one model may use only one set at a time.

Naming conventions allow you to:

  • Automatically create physical names based on captions and set naming conventions rules, e.g. Customer ID (caption) => T_CUSTOMER_ID (name).
  • Define a set of valid/invalid characters used in physical names (and define now invalid characters should be replaced).
  • Verify and automatically update names of multiple objects at once.
  • Use glossaries to automatically replace language-specific characters or abbreviations. Glossaries can be exported/imported as CSV files.

TIP:Toad Data Modeler comes with several CSV files to help you replace language-specific characters with English characters. The files are located in Documents | Toad Data Modeler | Installation Name | Naming Conventions | CSV.

Managing Naming Conventions

To start using naming conventions, you can go to Tools Menu | Naming Conventions | Settings or click on Naming Conventions Toolbar.

  • If no naming conventions are found by Toad Data Modeler, you will be asked to create a new set of naming conventions which will become linked to the currently active model.

  • You can link your model to another set of naming conventions in Model Menu | Properties (or Model Properties in context menu) | Naming Convention tab.

  • Additional naming conventions can be created and managed in a dialog opened by clicking Manage Naming Convention in Model Properties.

 

Verification and Synchronization

Naming Convention Verification and Synchronization can be accessed from:

  • Naming Convention Properties | General tab | Verify and Synchronize button
  • Naming Convention toolbar | Naming Convention Verification and Synchronization button

The verification and synchronization process allows you to do two things to multiple objects at once:

  • Verification - verifies object Names to see if they satisfy Naming Convention Rules.
  • Synchronization - synchronizes object Name with its Caption.

Names that do not pass verification or synchronization check can be automatically updated by applying the suggested Name modification. To update such Names, simply check the listed violations/suggestions and click on Update.

Note: The behavior of verification and synchronization process is heavily influenced by Naming Convention Properties.

To show/hide Naming Convention Violations () or Synchronization violations (), use the buttons on the toolbar.

Note: You can disable Verification/Synchronization checking for particular items by clicking the violation (/) icon. This will influence the suggested Name modification.



On Form Synchronization

Toad Data Modeler offers you the possibility of synchronizing and verifying objects Name/Caption in various Properties dialogs as you type. This behavior is controlled by two options located in Naming Convention Properties | General tab.

  • Automatic Synchronization
  • Apply Naming Convention Rules during Synchronization

Example 1:
  • Automatic Synchronization - disabled
  • Apply Naming Convention Rules during Synchronization - disabled

When neither option is enabled, you can change an object Caption but its Name won't change automatically. To synchronize Name/Caption manually, click the button.

Example 2:
  • Automatic Synchronization - enabled
  • Apply Naming Convention Rules during Synchronization - disabled

The object Name will be changed to match the Caption as you type.

Example 3:
  • Automatic Synchronization - disabled
  • Apply Naming Convention Rules during Synchronization - enabled
  • Naming convention rule enforces upper case and replaces non-alphanumeric characters with ? character.
  • Glossary contains a defined entry which replaces 'Customer' with 'CSTMR'

Similar to Example 1, Name won't be automatically updated. Additionally, naming convention rules and glossary replacements will be applied when performing manual synchronization.

Example 4:
  • Automatic Synchronization - enabled
  • Apply Naming Convention Rules during Synchronization - enabled
  • Naming convention rule enforces upper case and replaces non-alphanumeric characters with ? character.
  • Glossary contains a defined entry which replaces 'Customer' with 'CSTMR'

The object Name will be changed to match the Caption as you type, naming convention rules and glossary replacements will be applied to the Name as you type as well.

 

Related Documents