TIMESTAMP data type is meant for tracking updates/inserts into a table. It is an automatically generated binary piece of data that is unique within a given table. It can not be used to indicate time or datetime as its name may imply.
There can only be ONE timestamp column within a table.
You can use it to know what row has been updated or inserted last. A row with the maximum value in the timestamp column is the last row to be updated...
Also, SQL ships with SQL Books Online. Great resource for finding info on sql. You can search it on any subject you like....It is normally installed at Start->Programs->Sql Server->Books Online.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.