I have a column Status as a flag (P,W,S)
The status (P) means this is still to be processed (pending)
if a record takes more than 7 minutes with status (P) that indicates something went wrong.
How to go around this?
Any help appreciated..
I have a column Status as a flag ( P,W,S ) The status (
Share
Easy solution :
Add a “StatusLastModified” DateTime column to the table and update that each time you set the value of Status. (May want to write a trigger to handle that for you).
To find all values that haven’t changed in the last 7 minutes, add that clause to your select statement.