One of my SQL agent Job is running every minute, the job has failed . I need the job history of past five days.
Is there any way we can get the history details?
I have searched in the log but not able to find the details.
Please help me.
jobssql serversql-server-agent
One of my SQL agent Job is running every minute, the job has failed . I need the job history of past five days.
Is there any way we can get the history details?
I have searched in the log but not able to find the details.
Please help me.
Best Answer
Depending on how you have configured the history for the Sql Agent, you may have lost that information. From this answer:
You might be able to tweak the following query to give you the information you're looking for (if it still exists). I got the query from here.