The following sections describe the SQL CAST function and the rules for converting data from one type to another, both explicitly and implicitly.
A data type conversion modifies the data definition (data type, data attributes, or both) of an expression and can be either implicit or explicit. Explicit conversions can be made using the CAST function or Teradata conversion syntax.