Re: time stamp magicaly updated when ever update event occures on a row
- From: "Mark J. McGinty" <mmcginty@xxxxxxxxxxxxxxx>
- Date: Thu, 8 Dec 2005 16:03:11 -0800
"Daniel" <softwareengineer98037@xxxxxxxxx> wrote in message
news:%23ArsAzE$FHA.356@xxxxxxxxxxxxxxxxxxxxxxx
> time stamp magicaly updated when ever update event occures on a row
>
> in sql server 2000 i have a table. when i do any update on the table, a
> field of the effected rows gets a new time stamp, there are no triggers
> on
> the table, nothing special in the DDL of the table, is there any other way
> besides a table specific trigger that this time stamp could be getting
> updated when i do an update on a row? perhaps some other kind of trigger
> that is not specific to a table but specific to a fielde name in any
> table?
It's part of the definition of column type [deprecated name] timestamp, aka
[new name] rowversion. Its value is updated automatically when a row is
changed. Its value cannot be manually assigned. There can only be one
column of this type per table.
Short answer: it's special like that. :-)
-Mark
.
- References:
- Prev by Date: Re: time stamp magicaly updated when ever update event occures on a row
- Next by Date: Re: SQL 2000 security enforcements (installation)
- Previous by thread: Re: time stamp magicaly updated when ever update event occures on a row
- Index(es):
Relevant Pages
|