
There are several ways to find a stored procedure in the server by name: we can query sys.procedures, syscomments, or information_scema.routines. Respective examples would be:
select * from sys.procedures where name like '%name_of_proc%'
or
select text from syscomments c inner join sys.procedures p on p.object_id = c.object_id where p.name like '%name_of_proc%'
or
select * from information_schema.routines where routine_name like '%name_of_proc%'