1. 程式人生 > >Sqlserver中查詢儲存過程是否包含某些文字

Sqlserver中查詢儲存過程是否包含某些文字

select sysobjects.name, sysobjects.id,syscomments.text
 from sysobjects,syscomments where sysobjects.id=syscomments.id and  syscomments.text like '%ServiceStatus%'