查询存储过程中特定字符的方法
这篇文章介绍了查询存储过程中特定字符的方法,有需要的朋友可以参考一下
   把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 '%××%')
      
 代码如下:
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 '%××%')
精彩图集
    
    精彩文章
    




