• Hi, here a further alternative:

    select

    object_name(object_id) as Name

    from

    sys.sql_modules

    where

    definition like '%your_string_comes_here%'

    order by

    Name

    In combination with sp_foreachdb this one can also do the job.

    Cheerio, R.