Treat ON UPDATE CURRENT_TIMESTAMP as generated column?

2021-11-13 Thread Ben Schmeckpeper
Good morning. When querying a MySQL table's schema, I would like to know if a column has ON UPDATE CURRENT_TIMESTAMP set. I found an earlier question where it was explained that MySQL's usage of that syntax is non-standard and not supported for table creation, which I understand. Would it be

Re: Treat ON UPDATE CURRENT_TIMESTAMP as generated column?

2021-11-13 Thread Ben Schmeckpeper
++--+-+ | id | name | updated_at | ++--+-+ | 1 | Ben | 2020-10-11 12:00:00 | ++--+-+ 1 row in set (0.000 sec) On Saturday, November 13, 2021 at 9:36:51 AM UTC-6 Jeremy Evans wrote: > On Sat, Nov 13, 2021 at 6