源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

查询存储过程中特定字符的方法

  • 时间:2020-03-17 04:58 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:查询存储过程中特定字符的方法
把xx替换成具体字符,如“深圳”,sql语句如下:
[u]复制代码[/u] 代码如下:
select * from user_source t where instr(lower(t.text),'xx')>0; select * from all_source t where t.owner<>'SYS' and instr(t.text,'××')>0;
如果是sql server数据库,可以使用如下语句:
[u]复制代码[/u] 代码如下:
select * from sysobjects where id in( select id from syscomments where text like '%××%')
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部