sp_purgehistory is provided for backward compatibility only. For information about the replacement procedures for Microsoft® SQL Server™ version 7.0, see SQL Server Backward Compatibility Details.
Removes information from the history log.
Important For information about syntax used in earlier versions of SQL Server, see the Microsoft SQL Server Transact-SQL Reference for version 6.x.
For task management, use SQL Server Enterprise Manager.
Execute permissions default to the public role.
sp_addtask | System Stored Procedures |
sp_helphistory |