We keep only 30 days of SQL agent job history but due to the frequent execution of jobs, SSMS will experience the following timeout error when trying to view history for a given job:
Execution Timeout Expired.
The timeout period elapsed prior to completion of the operation or the server is not responding.
(.Net SqlClient Data Provider)
Is there a way to increase this timeout in SQL Management Studio 18.7.1?
Best Answer
No unfortunately it is not possible. As @Newman mentioned, you can query the msdb.dbo.sp_help_jobhistory procedure to get the data back or you can adjust your jobs timeframe cutoff or total number of rows cutoff (whichever is more suitable to your business needs): https://docs.microsoft.com/en-us/sql/ssms/agent/resize-the-job-history-log?view=sql-server-ver15