rowversion (data type)
auto-generated binary(8) that changes on every insert/update of the row
What changes
- Input
- none
- Output or change
- none
Syntax at a glance
rowversion
Work example
Detect whether a row changed since a client last read it.
Treat the value as an opaque concurrency token and compare the prior token in an update predicate.
Check your work rowversion is an increasing binary database value, not a date or wall-clock timestamp.
Open Microsoft Learn for full syntax, permissions, and details for your version.