把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 '%××%')
标签:
存储过程,特定字符

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
白云城资源网 Copyright www.dyhadc.com

评论“查询存储过程中特定字符的方法”

暂无“查询存储过程中特定字符的方法”评论...