I'm looking for a query that I can use to query all my SQL Agent jobs that will expose/extract:
1. the jobs that have T-SQL steps, and
2. the SQL code of those jobs.
I need this to search all my jobs for references to a particular database.
Thanks in advance.