
/* Code Fragment 9.24 Temporally vacuum the archival store. */

DELETE FROM P_TT_PAST
WHERE DATEDIFF(day,Stop_Date,GETDATE()) > 730
