07 2021 档案

摘要:1、字符串长度函数:length(X)(返回字符串X的长度) select length('qwerty') from table --6 2、字符串反转函数:reverse(X)(返回字符串X反转的结果) select reverse('qwerty') from table --ytrewq 3 阅读全文
posted @ 2021-07-21 10:57 小碗吃不胖的 阅读(1577) 评论(0) 推荐(0)
摘要:1 1、取整函数:round(X)(遵循四舍五入) 2 select round(3.1415926) from table --3 3 select round(3.5) from table --4 4 5 2、指定精度取整函数: round(X,Y)(遵循四舍五入) 6 select roun 阅读全文
posted @ 2021-07-20 17:33 小碗吃不胖的 阅读(910) 评论(0) 推荐(0)