Subject | Re: [firebird-support] timestamp trigger? |
---|---|
Author | Lester Caine |
Post date | 2006-10-16T15:42:22Z |
Ann W. Harrison wrote:
to match 'NOW' on other databases ;)
A generator is no use when what you are trying to log is WHEN a
transaction happened and as you have pointed out timestamps are not
consistent. We DO need a UTC_NOW so that times are in chronological even
if the clients are in different time zones :)
--
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php
> Fernando Salaices wrote:You have to run the server at UTC time as it's the only way currently
>> a generator? Can a generator be created that returns the current date?
>
> Not a date, but a more reliable ordering. If you use timestamps, how
> do you handle the transition from daylight savings time to standard
> time when suddenly time (local time) goes backward?
to match 'NOW' on other databases ;)
A generator is no use when what you are trying to log is WHEN a
transaction happened and as you have pointed out timestamps are not
consistent. We DO need a UTC_NOW so that times are in chronological even
if the clients are in different time zones :)
--
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php