I've got an extensive selection of these to add to a spreadsheet and don't want to go through by hand. What it the T-SQL command(s) to generate a list of SQL Server Agent Jobs?
I've got an extensive selection of these to add to a spreadsheet and don't want to go through by hand. What it the T-SQL command(s) to generate a list of SQL Server Agent Jobs?
On each server, you can query the sysjobs table in the msdb. For instance:
Here is my contribution - also gets the category name and filters out the report server jobs.
My boss actually sorted out what I was after - this gave me the list I was after.
USE msdb SELECT name FROM sysjobs