随笔分类 -  Oracle

Oracle数据库
摘要:update 表名 set 要更新的字段=replace(要更新的字段,'要替换的字符串','替换后字符串') where +条件 阅读全文
posted @ 2019-12-18 10:09 苹果也是梨 阅读(13510) 评论(0) 推荐(0)
摘要:select * from 表 where instr(','||判断的字段||',',',指定的值,')>0 mybatis : select * from 表 where instr(','||判断的字段||',',concat(concat(',', #{userId}), ',')) >0 阅读全文
posted @ 2019-11-22 13:34 苹果也是梨 阅读(5508) 评论(0) 推荐(0)