- 博客(4)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 mysql时间函数
1.获取当前日期+时间now();sysdate();这两个函数都是获取日期+时间,不同之处在于:now()在执行开始时值就得到了,sysdate()在函数执行时动态得到值2.获取当前日期:curdate();current_date();current_date;3.获取当前时间:curtime();current_time();current_time;...
2019-03-27 14:03:13
1509
原创 mybatis批量更新报错
报错是因为没有开启批量更新,不开启批量更新只允许操作一条,想要批量操作就要在数据库配置文件中的url后边增加&allowMultiQueries=true。
2022-11-07 16:29:35
1217
2
原创 mysql根据指定字符分割成多条数据
SELECT DISTINCTsubstring_index( substring_index( a.需要拆分的字段名, ‘,’, b.help_topic_id + 1 ), ‘,’,- 1 ) NAMEFROM表名 aJOIN mysql.help_topic b ON b.help_topic_id < ( length( a.需要拆分的字段名 ) - length( REPL...
2019-11-14 18:03:52
1604
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人