把xx替换成具体字符,如“深圳”,sql语句如下:
复制代码 代码如下:
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数据库,可以使用如下语句:
复制代码 代码如下:
select * from sysobjects where id in(
select id from syscomments where text like '%××%')
最后
以上就是鳗鱼冥王星最近收集整理的关于查询存储过程中特定字符的方法的全部内容,更多相关查询存储过程中特定字符内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复