Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL2000 Timestamp Data Type

Status
Not open for further replies.

cp84

Programmer
Apr 2, 2003
11
0
0
GB
I need to record the value of the timestamp field in VB.Net to provide validation in pending update procedures using a DataReader/DataRow.
Can this be done or is there a better way?

Many thanks

 
the timestamp value in sql-server is an array of 8 bytes and changes everytime you update the record. Allthough your idea was a very good one you don't really need to bother with this because the dataadapter update method will do that check for you and will give an error if the record was changed by somebody else.

And the timestamp datatype is there for backward compatibility and is replaced by the uid datatype.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Many thanks Christiaan, I'll look into the method you suggest

Clive Porter Uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top