TIMESTAMP parameter: SqlDbType.Timestamp or SqlDbType.VarBinary?

  • Thread starter Thread starter TR
  • Start date Start date
T

TR

When using VB.Net, what type do you choose for a TIMESTAMP parameter?

SqlDbType.Timestamp

OR

SqlDbType.VarBinary


And what size do you enter? 8?


Regards
TR
 
If you are using a MS SQL Server timestamp for concurrency conflict
checking, cast the timestamp as an int.
 
Back
Top