MySql的行版本控制 [英] Row versioning for MySql
本文介绍了MySql的行版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
MySQL是否有内置的行版本控制机制?类似于MS SqlServer中的时间戳"列.
Is there a built-in row-versioning mechanism for MySQL? Something similar to the 'timestamp' column in MS SqlServer.
推荐答案
如果添加"timestamp"字段,则每次更新行时都会自动更新-虽然不完全是版本控制,但听起来可能是您想要的在.
If you add a "timestamp" field, it will update it automatically whenever you update the row - not exactly versioning though, but sounds like it might be what you are after.
这篇关于MySql的行版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文