All Products
Document Center

Conversion functions

Last Updated: Jul 31, 2020

Distributed Relational Database Service (DRDS) supports the following conversion functions.

Function Description
BINARY Casts a string to a binary string.
CAST() Castd a value as a certain type.
CONVERT() Casts a value as a certain type.
  • The CONVERT function only supports the CONVERT(expr USING transcoding_name) syntax. If you need to use CONVERT(expr,type), use CAST(expr AS type) instead.