审计sql server中的select语句 [英] auditing select statement in sql server

查看:202
本文介绍了审计sql server中的select语句的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有数据库由sql 2008中的许多表组成,我希望如果任何一个执行选择查询来查看表内容需要审计那个时间&表名。





当选择查询命中数据库表时,在审计表中需要插入审计记录包括表名和&时间细节



i希望用windows中的sql命令做这个要求azure



i可以达到这个要求c#编码,但我只想在sql server中这样做



可以任何人帮我怎么做



谢谢

解决方案

您可以使用Management Studio获取此信息 - 这里只有一个关于审计选择陈述的文章 [ ^ ]

i have database consists of many tables in sql 2008, i want if any one performs select query to view table content need to audit that time & table name.


when ever select query hits on table of database, in audit table need to insert audit record consists table name & time details

i want to do this requirements with sql commands in windows azure

i can achieve this requirement with c# coding, but i want to do this in sql server only

can any one help me how to do this

thanks

解决方案

You can get this information using the Management Studio - here's just one article on auditing select statements[^]


这篇关于审计sql server中的select语句的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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