MYSQL 函数 字符串到整数

SELECT CAST('002' AS signed) 结果为2

SELECT CAST('125e342.83' as signed) 结果为 125

原文地址:https://www.cnblogs.com/08shiyan/p/3443698.html