MySQL Forums
Forum List  »  PHP

Re: Update column when datetime = NOW()
Posted by: Peter Brawley
Date: February 20, 2020 09:34AM

Any time you need the info, a query need to run which, given a timestamp column ts in table t, can include an elementary expression like ...t.ts >= now()..., so I don't understand why you wish a column that stores such derived info.

Options: ReplyQuote

Written By
Re: Update column when datetime = NOW()
February 20, 2020 09:34AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.