如何在sql server中跟踪DML操作 [英] How to Track DML operations in sql server

查看:99
本文介绍了如何在sql server中跟踪DML操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Every each,

Hello Every one,

刚刚开始在sql server中跟踪数据变换(DML)跟踪。但无法找到跟踪sql server中DML更改的最佳方法,如下所示。

just started analaysis of Data changs (DML) tracking in sql server. but couldnt find best way to track the DML changes in sql server like as follows.

我需要知道

1。执行此更改的人

2.执行此更改时

3。该机器的主机名和IP地址。

3. Host name and Ip address of that machine .

4。在哪些表上执行DML操作。

4. on which tables DML operations performed.

在ssms中有一个选项:架构更改历史但它没有帮助。

in ssms there is a option : Schema change history but its not helped.

我已经阅读了一些文章但无法找到最佳解决方案。

i have gone through some articles but couldnt' find best solution.

请帮助我

任何寻求解决方案高度赞赏的帮助。

any help that find solution highly appreciate.

先谢谢。

Best,Siddu

Best, Siddu

推荐答案

没有本机解决方案,您需要第三方工具或自定义脚本才能获得该级别的详细信息。您也可以尝试SQL审计,但这可能是您的大量手动工作。 

There is no native solution for this, you would need a 3rd party tool or custom scripts to get that level of detail. You could also try SQL Audit, but that could be a lot of manual work on your part. 

HTH


这篇关于如何在sql server中跟踪DML操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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