cast

cast

cast介绍

cast(expr AS type) - 将值 expr 强制转换为目标数据类型 type。

Examples:

> SELECT cast('10' as int);
 10

Since: 1.0.0