Teradata Datatype Conversion and Data Formatting