SELECT A.name ,
B.definition
FROM SYS.objects A
INNER JOIN sys.sql_modules B ON A.object_id = B.object_id
AND ( CHARINDEX('包含字符',
B.definition) > 0 )