My database table has a column defined to use ON UPDATE CURRENT_TIMESTAMP
:
How can I force this last_access
field to update for a given record when no other data in the record is changing?
UPDATE your_table SET last_access = CURRENT_TIMESTAMP();
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With