Kun sys.sql_modules
indeholder hele definitionen af proceduren. Andre visninger såsom INFORMATION_SCHEMA.ROUTINES
indeholde en trunkeret definition.
select object_name(o.object_id), m.*
from sys.sql_modules m
join sys.objects o on m.object_id = o.object_id
where o.type= 'P'
and m.definition like N'%<keyword>%'