当发生变化时如何跟踪数据库中的变化? [英] How to track changes in database when there is something changes?

查看:37
本文介绍了当发生变化时如何跟踪数据库中的变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我拥有数据库的所有权限,并且有一个应用程序使用该数据库.当我在屏幕上做某事时,如何知道数据库中的哪些表、哪些列发生了变化.

Supposed that i have all privileges on a database and there is an application using that database. How to know which tables, which columns have changes in database when I do something in the screen.

这适用于 Windows 和 SQL Server 2012.我们没有数据库结构文档.这就是为什么我需要这个来追踪这个

This is for Windows and SQL Server 2012. We don't have database structure document. That's why i need this to trace this

推荐答案

使用

更改数据捕获

更改跟踪

或示例触发器/SQL Server Profiler

or example trigger/SQL Server Profiler

这篇关于当发生变化时如何跟踪数据库中的变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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