Does MySQL have an equivalent of SQL Server rowversion?

后端 未结 2 496
攒了一身酷
攒了一身酷 2021-01-13 09:23

I am migrating a SQL Server database schema over to MySQL. Some of the tables on SQL Server have a column of type rowversion. This is an integer value that is set when the r

2条回答
  •  爱一瞬间的悲伤
    2021-01-13 09:45

    The MySQL TIMESTAMP data type has the auto initialize and auto update features needed for optimistic concurrency tests. See, for example, http://www.mysqltutorial.org/mysql-timestamp.aspx

提交回复
热议问题