我想存储使用SSMS-2012由任何用户执行的所有查询 [英] I want to store all query which are executes by any user using SSMS-2012

查看:60
本文介绍了我想存储使用SSMS-2012由任何用户执行的所有查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



i有一个要求,即使用Sql Management Studio执行的所有查询都应存储在一个表中。



假设我有50个开发人员使用SSMS创建和编辑数据库。

所以我想存储他们运行的所有查询..



i不知道怎么做,

请有人帮我吗?



问候

Rikin

hi all,

i have one requirement that all query which are executes using Sql Management Studio should be store in one table.

Suppose i have 50 developer creating and editing database using SSMS.
so i want to store all query which they run..

i dont know how this can be done,
please any one can help me??

Regards
Rikin

推荐答案

您好,



您将在工具中使用SQL Server探查器菜单,只需启动它,它将显示在服务器中执行的所有查询。
Hi,

You will have a SQL Server profiler in tools menu, just start it, it will show all the queries executing in the server.


这篇关于我想存储使用SSMS-2012由任何用户执行的所有查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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