标签:idt run substr floor trunc length mysql upper src
1.字符函数
length
![技术图片](http://image.mamicode.com/info/201905/20190505120005954186.png)
concat
![技术图片](http://image.mamicode.com/info/201905/20190505120006068448.png)
substr
![技术图片](http://image.mamicode.com/info/201905/20190505120006199313.png)
![技术图片](http://image.mamicode.com/info/201905/20190505120006376077.png)
instr
![技术图片](http://image.mamicode.com/info/201905/20190505120006474714.png)
trim
![技术图片](http://image.mamicode.com/info/201905/20190505120006629993.png)
upper
![技术图片](http://image.mamicode.com/info/201905/20190505120006872190.png)
lower
lpad
![技术图片](http://image.mamicode.com/info/201905/20190505120006995242.png)
rpad
![技术图片](http://image.mamicode.com/info/201905/20190505120007110481.png)
replace
![技术图片](http://image.mamicode.com/info/201905/20190505120007343888.png)
2.数学函数
round
ceil
floor
truncate 截断
mod 取余
3.日期函数
now
curdate
curtime
str_to_date
date_format
4.其它函数
if
case
标签:idt run substr floor trunc length mysql upper src
原文地址:https://www.cnblogs.com/mm163/p/10812034.html