查询当前数据库存在某个字符串的存储过程

--将text替换成你要查找的内容 
SELECT ROUTINE_NAME, ROUTINE_DEFINITION 
FROM INFORMATION_SCHEMA.ROUTINES 
WHERE ROUTINE_DEFINITION LIKE '%AgentRoomCardOrder%' 
AND ROUTINE_TYPE='PROCEDURE'

 

You can leave a response, or trackback from your own site.

Leave a Reply

网站地图xml地图