当前位置: 代码迷 >> Sql Server >> 写一存储过程实现"查找某一内容在现有存储过程中的存储过程"
  详细解决方案

写一存储过程实现"查找某一内容在现有存储过程中的存储过程"

热度:63   发布时间:2016-04-27 16:36:50.0
写一存储过程实现"查找某一内容在现有存储过程中的存储过程",在线等
在线等

------解决方案--------------------
??
------解决方案--------------------
不解...
------解决方案--------------------
declare @str varchar(200)
set @str= 'create '

select a.name from sysobjects a Inner Join syscomments b On a.id=b.id where a.type= 'p ' and text like '% '[email protected]+ '% '
------解决方案--------------------
select a.name from sysobjects a Inner Join syscomments b On a.id=b.id where a.type= 'p ' and text like '% '[email protected]+ '% '

------解决方案--------------------
关注。。。
------解决方案--------------------
syscomments的text字段就保存了存储过程的内容

楼上的已经写的很清楚了。
楼主还有什么不懂得?
  相关解决方案