I would like to include an integer version field in my table, auto-incrementing on each update made to a row. Is it possible to do this in MySQL?
Please note that I'm not talking about a TIMESTAMP
, which is not reliable as two concurrent updates might happen during the same second.