Similarly, a TIMESTAMP value of row(s) would be
automatically updated if we UPDATE any value of row(s) in the table. New
TIMESTAMP value will always be the next incremented value of the largest
TIMESTAMP value exist among all rows in the table.
For example, Execute following UPDATE command on the table.
Listing 7
UPDATE MyTestTable SET SmallDateTime=0
WHERE RowID = 1
If you open the table now, the TIMESTAMP column of RowID
must have incremented by one to the largest TIMESTAMP available in the table.
Listing 8
RowID TimeStamp SmallDateTime DateTime
----------- ------------------ ----------------------- -----------------------
1 <span class=Bold>0x0000000000000FA3</span> 1900-01-01 00:00:00 2008-09-20 02:26:35.700
2 0x0000000000000FA2 2008-09-20 02:39:00 2008-09-20 02:38:39.763