1.查询包含某关键词的存储过程名

select distinct a.name from sysobjects a,syscomments b
where a.id=b.id and a.type='p' and charindex('最大批次号',b.text)>0