Jobs not searched?
GGinBerkeley
Posts: 6
I'm working on a new project, on a database that has many SQL Server jobs.
I had hoped that SQL Search could help me locate which jobs are calling out particular stored procedures (e.g., show me all jobs that invoke sproc 'foo').
Sadly, SQL Search seems to fail badly in this instance - jobs are completely ignored, apparently.
So I have had to resort to using this query instead:
use msdb
go
select sj.name as job_name, st.command
from sysjobs sj
join sysjobsteps st
on sj.job_id = st.job_id
where st.command like '%mysprocname%'
Are there any plans to change this? It seems like a major oversight/bug to not search for jobs.
Thx.
I had hoped that SQL Search could help me locate which jobs are calling out particular stored procedures (e.g., show me all jobs that invoke sproc 'foo').
Sadly, SQL Search seems to fail badly in this instance - jobs are completely ignored, apparently.
So I have had to resort to using this query instead:
use msdb
go
select sj.name as job_name, st.command
from sysjobs sj
join sysjobsteps st
on sj.job_id = st.job_id
where st.command like '%mysprocname%'
Are there any plans to change this? It seems like a major oversight/bug to not search for jobs.
Thx.
Comments
Please, vote at this feature request site of SQL Search to move it up in the wish list.
http://redgate.uservoice.com/forums/101149-sql-search-feature-suggestions/suggestions/1468673-option-to-search-jobs
Thanks
Adam