会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
moonsoft
技术交流QQ群:583895157
博客园
首页
新随笔
联系
订阅
管理
2022年9月19日
sql 字段中的百分号
摘要: SQL模糊查询的时候,如果字段中有%,我们又希望查找出所有有%的字段,使用select * from table where name like '%%%'类似的语句是不行的。这时候我们可以使用select * from table where name like '%[%]%。
阅读全文
posted @ 2022-09-19 18:09 moonsoft
阅读(279)
评论(0)
推荐(0)
编辑
Oracle 模糊查询% 查询特殊符号
摘要: select * from temp where num1 like '%\%%' escape '\';
阅读全文
posted @ 2022-09-19 17:59 moonsoft
阅读(194)
评论(0)
推荐(0)
编辑
公告