![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Oracle
weixin_45394439
这个作者很懒,什么都没留下…
展开
-
MyBatis中Oralce、MySQL、Sql Server的模糊查询语句
第一种select * from studentwhere stuName like concat(#{stuName},'%')第二种select * from studentwhere stuName like '%' || #{stuName} || '%'原创 2020-06-23 15:18:07 · 188 阅读 · 0 评论 -
Clob字段 Union 带来的问题:ORA-00932:数据类型不一致:应为-,但却获得CLOB;数据缓冲区太小
问题描述:在Mybatis 操作CLOB 的时候遇到了错误,ORA-00932:数据类型不一致:应为-,但却获得CLOB问题定位:1. 看看操作clob 字段的时候用到了Union 了吗?原因: clob 字段不支持分类,union 关键字会对字段进行group by , 这个隐藏从错误很难发现,耽误了我一天的时候,修改这个问题;...转载 2019-10-10 19:47:04 · 359 阅读 · 1 评论