Subject | RE: [firebird-support] CURRENT_TIMESTAMP vs. NOW |
---|---|
Author | Rick Debay |
Post date | 2007-01-30T22:14:31Z |
If CURRENT_TIMESTAMP is for the statement, is there any equivalent to
TRANSACTION_TIMESTAMP?
-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Ann W. Harrison
Sent: Tuesday, January 30, 2007 10:59 AM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] CURRENT_TIMESTAMP vs. NOW
Rick Debay wrote:
fixed for the duration of a statement. In other words, if you were to
update every record in a large table, setting TIME_MODIFIED to NOW,
you'd see several different times. CURRENT_TIMESTAMP, on the other
hand, would set the TIME_MODIFIED to the same value.
Regards,
Ann
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.
TRANSACTION_TIMESTAMP?
-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Ann W. Harrison
Sent: Tuesday, January 30, 2007 10:59 AM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] CURRENT_TIMESTAMP vs. NOW
Rick Debay wrote:
> I notice that NOW is usually later than CURRENT_TIMESTAMP. I believeNOW is the time at the instant it is evaluated. CURRENT_TIMESTAMP is
> this has to do with transactions, but I'd like an explanation.
>
fixed for the duration of a statement. In other words, if you were to
update every record in a large table, setting TIME_MODIFIED to NOW,
you'd see several different times. CURRENT_TIMESTAMP, on the other
hand, would set the TIME_MODIFIED to the same value.
Regards,
Ann
Disclaimer: This message (including attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. RxStrategies, Inc. shall not be liable for the improper or incomplete transmission of the information contained in this communication or for any delay in its receipt or damage to your system. RxStrategies, Inc. does not guarantee that the integrity of this communication has been maintained nor that this communication is free from viruses, interceptions or interference.