Anda dapat menggunakan:
select *
from
sys.procedures
where
name like '%name_of_proc%'
jika anda membutuhkan kode anda dapat melihat di tabel syscomments
select text
from
syscomments c
inner join sys.procedures p on p.object_id = c.object_id
where
p.name like '%name_of_proc%'
Sunting Pembaruan:
bisa juga menggunakan versi standar ansi
SELECT *
FROM
INFORMATION_SCHEMA.ROUTINES
WHERE
ROUTINE_NAME LIKE '%name_of_proc%'