The following table describes the supported datatype conversion functions.
| Function | Description |
|---|---|
biginttohex |
Converts a bigint value to its 8-byte hexadecimal string representation. |
bintostr |
Converts a binary or hex value into a string of alphanumeric characters. |
cast |
Converts a value from one datatype to another. |
convert |
Converts a value to another datatype, optionally formatting datetime using a style code. |
hash |
Returns a fixed-length hash of a value. |
hashbytes |
Returns a fixed-length hash of a value using a specified algorithm. |
hextobigint |
Converts a hexadecimal string to a bigint value. |
hextoint |
Converts a hexadecimal string to an integer. |
inttohex |
Converts an integer to its hexadecimal string representation without the 0x prefix. |
strtobin |
Removes leading spaces from a string. |
to_unichar |
Converts an integer code point to its Unicode character. |
For more information, see SAP ASE functions.