I know that there is a TIMESTAMP data type that automatically updates the timestamp value when the record is updated, and I already have such a column.
Also, I would like to have a column that automatically populates before NOW () (or CURRENT_TIMESTAMP) and never changes, but MySQL DEFAULT does not seem to support function calls.
Please post only MySQL answers. I know how to do this at the application level.
EDIT: If this is not possible, I would appreciate it.
EDIT2: MySQL Version 5.0.32
source share