[Company Logo Image] 

Home Up Contents Coffee Break Credits Glossary Links Search

Purge Job History Failed



Analysis Services
CLR Integration
High Availability
Open Source
SQL Server 2008
SQL Server 2012
SQL Server 2014
SQL Server 2016
SQL Server 2017
SQL Server 2019

Purge Job History Failed.

Applies to: SQL Server Management Studio (2005, 2008) connected to a Microsoft SQL Server 2000 SP4 instance.

Error Message

When connected to a Microsoft SQL Server 2000 SP4 instance using SQL Server Management Studio, and you try to configure the "Automatically remove agent history" feature on the SQL Server Agent Properties dialog, you receive the following error message:

Purge job history failed for JobServer 'SERVERNAME'.(Microsoft.SqlServer.Smo)
Additional information:
An exception occurred while executing a Transact-SQL statement or batch.
@oldest_date is not a parameter for procedure sp_purge_jobhistory. (Microsoft SQL Server, Error: 8145)



This feature was originally introduced with Microsoft SQL Server 2005 and does not work on Microsoft SQL Server 2000 instances using SQL Server Management Studio.




.Send mail to webmaster@sqlcoffee.com with questions or comments about this web site.