Is it possible to add code into the database, so that it monitors certain value and performs an operation when certain conditions are true?
I have a table with research in each having a completion time stamp. When this time stamp matchs the current time or has passed I want it to get removed from that table and another table to be edited. Whats the best way of doing this? Im cautious not the have a script checking it too often as it may effect the database traffic. But I dont really want the detection of the timestamp expiring to be out by any more say 5 seconds.
Thanks
I have a table with research in each having a completion time stamp. When this time stamp matchs the current time or has passed I want it to get removed from that table and another table to be edited. Whats the best way of doing this? Im cautious not the have a script checking it too often as it may effect the database traffic. But I dont really want the detection of the timestamp expiring to be out by any more say 5 seconds.
Thanks
Comment