跟踪在后端数据库中完成的更改 [英] Tracking Changes done in BackEnd Database

查看:78
本文介绍了跟踪在后端数据库中完成的更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户修改任何数据时,是否可以监视对后端表所做的更改?
如何维护历史记录表,以跟踪使用旧数据进行的修改更改??
有什么方法可以跟踪用户从前端进行的更改.由于提供了修改现有数据的规定.


请让我知道它如何工作.

问候,
Priya.

Is it possible to monitor the changes done to the backend tables when the user modifies any data?
How can i maintain a history table to track the modified changes with the old data.?
Is there any way of procedure to track the changes done by the user from front end. As they are given the provision to modify the existing data.


Please give me an idea of how it may work.

Regards,
Priya.

推荐答案

是的,可能的.使用审计跟踪/审计历史记录"表对其进行跟踪.
您根据要跟踪的其他表上的更新/删除/插入triggers来填充这些表.

以下文章将为您提供帮助:
用于Microsoft SQL的审计跟踪生成器 [ MSDN:创建触发器(Transact-SQL) [ ^ ]
Yes, possible. It is tracked using Audit trail/Audit history tables.
You populate these tables based on update/delete/insert triggers on other tables which you want to track.

Following article should help you:
Audit Trail Generator for Microsoft SQL[^]
MSDN: CREATE TRIGGER (Transact-SQL)[^]


这篇关于跟踪在后端数据库中完成的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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