SQL Server中查找包含某个文本的存储过程

因之前直接使用IP做远端服务器,目前需要调整为电脑名称,可以使用下面的语句将存储中的替换执行.

select name,text
from sysobjects o,syscomments s
where o.id=s.id
and text like '%192%'
and o.xtype='p'
原文地址:https://www.cnblogs.com/CoreXin/p/8084690.html