Converts a numeric data type to Vantage byte representation (byte value) of the input value.
The number of bytes returned by the function varies according to the data type of the target_arg value.
- TO_BYTE Function Syntax
- TO_BYTE Argument Types and Rules
- TO_BYTE Result Type and Attributes
- Example: Querying with the TO_BYTE Function
See also "Function Name Overloading" in Using Functions with CREATE/REPLACE FUNCTION (SQL Form).
ANSI Compliance
This statement is a Teradata extension to the ANSI SQL:2011 standard.