Re: Help required with Timestamp field
- From: species8472 <species8472@xxxxxxxxxxxxxxxxx>
- Date: Fri, 09 Dec 2005 12:07:17 +0100
pankaj_wolfhunter@xxxxxxxxxxx wrote:
Thank for the reply. I didnt get it, if its just a sequence of numbers and that too in hex form, why do we have it. i mean if we cant export this, doesnt that mean that
that we are loosing out that information, which is as good as not having only.
TIA
ASE is using the timestamp internally to track changes to datapages for recovery purposis.
You can basically use it if you want to implement optimistic locking and such things.
As an example, if you have a web page where people can chenge data.
You retrieve the record and it's timestamp, and release the lock on that page.
Then the user changes the info.
On writeback of the data you check if the timestamp has changed or not.
If it has changed then the record was changed in the meantime, if it hasn't chenged it's save to writeback the new info.
joop
-- Senior Consultant Sybase Professional Services
She asked me, "What's your sign?" I blinked and answered "Neon," I thought I'd blow her mind... .
- Follow-Ups:
- Re: Help required with Timestamp field
- From: pankaj_wolfhunter
- Re: Help required with Timestamp field
- References:
- Help required with Timestamp field
- From: pankaj_wolfhunter
- Re: Help required with Timestamp field
- From: species8472
- Re: Help required with Timestamp field
- From: pankaj_wolfhunter
- Help required with Timestamp field
- Prev by Date: Re: Help required with Timestamp field
- Next by Date: Re: Help required with Timestamp field
- Previous by thread: Re: Help required with Timestamp field
- Next by thread: Re: Help required with Timestamp field
- Index(es):