The simplest method will be create a view based on the table with last five days record. That will be always refreshed every time you run any query on the view.
Reputation Points: 665
Solved Threads: 427
Posting Genius
Offline 6,406 posts
since Feb 2007