Subject | Re: Is there NOW functionality? |
---|---|
Author | Adam |
Post date | 2006-06-18T12:11:04Z |
--- In firebird-support@yahoogroups.com, "Velja Radenkovic"
<velja.r@...> wrote:
There is a subtle difference between that and NOW, one holds the value
for the duration of an operation, for the other may be different for
each record affected.
update somelargetable
set somefield = 'NOW';
and
update somelargetable
set somefield = CURRENT_TIMESTAMP;
May have different outcomes.
Adam
<velja.r@...> wrote:
>You may want to also consider CURRENT_TIMESTAMP.
> Thanks you,
> Velja
There is a subtle difference between that and NOW, one holds the value
for the duration of an operation, for the other may be different for
each record affected.
update somelargetable
set somefield = 'NOW';
and
update somelargetable
set somefield = CURRENT_TIMESTAMP;
May have different outcomes.
Adam