July 14, 2008 at 7:52 am
Hi experts,
What are the advantage of using timestamp datatype???
TIA
July 14, 2008 at 8:47 am
It is generally used for dealing with concurrency. It is not a date, but it is automatically changed each time a record is updated. So, a method of verifying a record has not changed since you read the data is to check if the timestamp field has been modified.
July 14, 2008 at 9:09 am
Thanks Earl,
I like to know how to check whether a column is modified and when???
July 14, 2008 at 9:15 am
Check out these articles and their discussions. All kinds of data on how to keep track of what's been changed, when, and by whom:
http://www.sqlservercentral.com/articles/Auditing/63247/
http://www.sqlservercentral.com/articles/Auditing/63248/
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply