Previous Topic: Authorize Teradata Database UsersNext Topic: Define Teradata Database Roles


Specify Teradata Conversion Routines (Casts)

You can use the Teradata Cast Editor to specify a bi-directional conversion from one data type to another in a Teradata physical model.

To specify Teradata conversion routines

  1. Click Target-Teradata, Casts on the Model menu.

    The Teradata Cast Editor opens.

  2. Select a cast and work with the following options:

    Note: Click New New icon in property editors to create a new object on the toolbar to create a new cast. Use the Enter filter text text box to filter a very large list of casts to quickly locate the one you want to work with.

    Name

    Specifies the name of the available casts.

    Source Data Type

    Specifies the data type that you want to convert. Select from the drop-down list.

    Target Data Type

    Specifies the target (converted) data type. Select from the drop-down list.

    Use Replace Syntax

    Lets you select whether Forward Engineering uses the REPLACE command instead of the CREATE command.

    Generate

    Generates DDL for this object during Forward Engineering.

  3. Complete the following fields on the General tab:
    Procedure Type

    Specifies the type of procedure used for conversion. The type you select here effects how the DDL generates during Forward Engineering. Select the type from the drop-down list. Valid values are: Specific Method, Instance Method, Specific Function, and Function.

    Procedure

    Specifies the method or function used to perform the cast. Select from the drop-down list.

    As Assignment

    Select the check box to implicitly invoke the cast functionality upon assignment.

  4. (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
  5. (Optional) Click the UDP tab to work with user-defined properties for the object.
  6. (Optional) Click the Notes tab to view and edit user notes.
  7. Click Close.

    The Teradata Cast Editor closes.

More information:

Add a Comment in a Property Editor

Add a UDP in a Physical Property Editor