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
- Click Target-Teradata, Casts on the Model menu.
The Teradata Cast Editor opens.
- Select a cast and work with the following options:
Note: Click New
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.
- 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.
- (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
- (Optional) Click the UDP tab to work with user-defined properties for the object.
- (Optional) Click the Notes tab to view and edit user notes.
- Click Close.
The Teradata Cast Editor closes.
Copyright © 2021 Quest Software Inc. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies. |