timestamp triggered only on update?
| From: | Ragnar | Date: | Thu, 25 Jul 2002 22:19:02 +0000 |
| Subject: | timestamp triggered only on update? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109615@lists.php.net to get a copy of this message | ||
Maybe the wrong forum, but im giving it a try.
Im used to for instance 2 columns in each table indicating when it was
created and when it was last updated:
Changed_date
Registered_date
In mysql it seems it is only possible to define a column as a timestamp, and
this will trigger both on insert and delete. Is it possible to define
changed_date to trigger only on update in mysql or do i have do give the
correct timestamp "manually" from php?
Thanx
-R