Home >Database >Mysql Tutorial >MYSQL 函数 字符串到整数_MySQL

MYSQL 函数 字符串到整数_MySQL

WBOY
WBOYOriginal
2016-06-01 13:27:161033browse

bitsCN.com

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

 

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

 

 

 

 

 

 

 

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn