All Products
Search
Document Center

Type conversion

Last Updated: Jun 18, 2021

ApsaraDB for OceanBase supports explicit type conversion and implicit type conversion.

You can perform explicit type conversion by using the CAST function.

Implicit type conversion occurs in the following scenario: An operation requires a parameter of a specified type, but the actual parameter value does not match the specified type. In this case, ApsaraDB for OceanBase converts the actual parameter value to the specified type before subsequent operations are performed.