• The above proc would also be run if you use the history cleanup task in a maintenance plan and select Backup and restore history

    ---------------------------------------------------------------------