timestamp column from sql server, how to presist in a class?

  • Thread starter Thread starter Smokey Grindle
  • Start date Start date
S

Smokey Grindle

I need to store a timestamp record from a row in my class as a field that I
can use later to verify that the original record hasn't changed... how would
you store this? as a byte array? or some other data type? thanks!
 
You can also convert it to an int


Select EmpID , Convert(int , RowVers) as RowVersInt from Emp

where RowVers is a timestamp.
 
ah awesome thanks

sloan said:
You can also convert it to an int


Select EmpID , Convert(int , RowVers) as RowVersInt from Emp

where RowVers is a timestamp.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top