Du kan bruge:
select *
from
sys.procedures
where
name like '%name_of_proc%'
hvis du har brug for koden, kan du se i syscomments-tabellen
select text
from
syscomments c
inner join sys.procedures p on p.object_id = c.object_id
where
p.name like '%name_of_proc%'
Rediger opdatering:
du kan også bruge ansi standardversionen
SELECT *
FROM
INFORMATION_SCHEMA.ROUTINES
WHERE
ROUTINE_NAME LIKE '%name_of_proc%'