Dave,
Novice...
To view the timestamp datatype, you look at the binary, because it is
all there is.
To wit, the timestamp datatype has nothing to do with date and time. It
is a binary value. If you update a row which has a timestamp column,
the timestamp column is automatically updated to a value which is
higher than ny previously used timestamp value in that database (or
even in the server). The main purpose for timestamp columns is
optimistic locking. You retrieve a row, and when you later update,
you compare the timestamp value with the current, and if they are
not the same, someone else has updated the row since you read it.
If you were looking for date and time, you should probably use the
datetime datatype instead.
--
Erland Sommarskog, SQL Server MVP
som...@algonet.se
Books Online (updated!) for SQL 2000 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
INSERT INTO t (current_date_time)
VALUES (CURRENT_TIMESTAMP)
Hope this helps.
jag
"Dave" <da...@dmcomm.com> wrote in message
news:Yyz79.29$r%2.109...@news.incc.net...