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
The Teradata Cast Editor opens.
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.
Specifies the name of the available casts.
Specifies the data type that you want to convert. Select from the drop-down list.
Specifies the target (converted) data type. Select from the drop-down list.
Lets you select whether Forward Engineering uses the REPLACE command instead of the CREATE command.
Generates DDL for this object during Forward Engineering.
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.
Specifies the method or function used to perform the cast. Select from the drop-down list.
Select the check box to implicitly invoke the cast functionality upon assignment.
The Teradata Cast Editor closes.
Copyright © 2013 CA.
All rights reserved.
|
|