I have a table which contains 2 user names and a date - I need a way of processing the table so that when the date stored is greater than 24 hours / 1 day - then it is removed.
I am thinking that my java application could have a thread that could poll and do this, alternatively - is there a solution that could be crafted on the database side? For example, a stored procedure?
Thanks