Subject | Re: [firebird-support] Re: TimeStamp Problem in procedures |
---|---|
Author | Daniel Rail |
Post date | 2004-09-27T20:01:33Z |
Hi,
At September 27, 2004, 16:39, trac_t2000 wrote:
timestamp in the context of the transaction. Essentially, it will
return a consistent timestamp for the whole duration of the
transaction. And, not the exact timestamp when you reference it.
If I remember correctly, 'NOW' should return the extact timestamp no
matter when it is referenced during the transaction.
Here's an example on how to use it:
SP_VAR = CAST('NOW' AS TIMESTAMP)
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At September 27, 2004, 16:39, trac_t2000 wrote:
>> What are you using to get the timestamp? CURRENT_TIMESTAMP or 'NOW'?CURRENT_TIMESTAMP is a context variable, and it will return the
>>
> I am using CURRENT_TIMESTAMP.
timestamp in the context of the transaction. Essentially, it will
return a consistent timestamp for the whole duration of the
transaction. And, not the exact timestamp when you reference it.
If I remember correctly, 'NOW' should return the extact timestamp no
matter when it is referenced during the transaction.
Here's an example on how to use it:
SP_VAR = CAST('NOW' AS TIMESTAMP)
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)