在SQL Server 2008数据库中维护数据历史记录的方法 [英] Ways to Maintain Data History in SQL Server 2008 Database

查看:192
本文介绍了在SQL Server 2008数据库中维护数据历史记录的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

长期以来,我们想创建一个没有历史遗失的案例管理系统。当发生变化时,我们想记录这一变化,但是有能力回到任何时间点,看看这个记录是什么样的。我想将这个问题提交给Stack Overflow社区,看看有什么方法可以实现这一点吗?是否有技术实现了这一点?

解决方案

是的,这种技术绝对存在 - 实现它的方法非常有效。



您要查找的内容被称为时间数据库 - 请参阅一些资源:




For a long time, we've wanted to create a case management system where no history is ever lost. When a change is made, we want to record that change, but have the ability to go back to any point in time and see what the record looked like. I wanted to pose this question to the Stack Overflow community to see what are some ways of doing this, is there technology already in place to achieve this?

解决方案

Yes, that technology definitely exists - it's a bit of an effort to implement it and do so correctly.

What you're looking for is called temporal databases - see some resources:

这篇关于在SQL Server 2008数据库中维护数据历史记录的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆