当前位置: 移动技术网 > IT编程>数据库>MSSQL > 查询存储过程中特定字符的方法

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

2017年12月12日  | 移动技术网IT编程  | 我要评论

官途下载,电视机原理与维修,hd5670

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

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网