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

MYSQL 函数 字符串到整数_MySQL

WBOY
Release: 2016-06-01 13:27:16
Original
1039 people have browsed it

bitsCN.com

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

 

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

 

 

 

 

 

 

 

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template