您好,欢迎来到厘吉科技。
搜索
您的当前位置:首页查询存储过程中特定字符的方法

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

来源:厘吉科技


把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 '%××%')

Copyright © 2019- alijijinhui.com 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务