I want to run a query, against MSDB I assume, that will show me all scheduled jobs and sql statements that they execute at each step for particular three tables. Say, Table1, Table1, and Table3. I don't want to see any other info but only on Agent Jobs that use names of one of these three tables in one of the SQL Statements that jobs steps execute.
Is this possible to achieve? Does anyone know about an existing script that does it?