For example I have a table tb
with columns :
order_id | date_ordered | due_date | status
Are there any out of the box solution where I can automatically update status
column when the current time (from server) reaches the value of the due_date
column? How do I do it?
Thanks in advance.
UPDATE :
Something like this :
test1 | 2016-03-30 09:19:06.610 | 2016-03-30 11:19:06.610 | NEW
test2 | 2016-03-30 09:22:43.513 | 2016-03-30 11:22:43.513 | NEW
test3 | 2016-03-30 09:06:03.627 | 2016-03-30 11:06:03.627 | NEW
When the server time reaches 2016-03-30 11:19:06.610
, test1
's status will change value say, overdue