r***@chrysler.com
2007-08-20 14:07:32 UTC
Is there a simple clause that can be added to a create table statement,
such that each insert/update to the table automatically writes the current timestamp into a specific column?
The goal is to have a field indicating when each record was last updated,
without having to add a clause to each insert/update statement.
Is there a way to use not null default?
Is there a way to use trigger?
Is there a better way?
TIA,
such that each insert/update to the table automatically writes the current timestamp into a specific column?
The goal is to have a field indicating when each record was last updated,
without having to add a clause to each insert/update statement.
Is there a way to use not null default?
Is there a way to use trigger?
Is there a better way?
TIA,