SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Audit changes made by MSSMS


Audit changes made by MSSMS

Author
Message
mig28mx
mig28mx
SSC Veteran
SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)

Group: General Forum Members
Points: 271 Visits: 162
Hi all,
I´m implementing an audit requirement in our SQL server. The front end is an ERP, so all the logins to the DB are the same login.
We need to audit any change done by the Management Studio not by the "natural" procedure done by the ERP.

I have tested some parameters in the out of the box auditing capabilites of SQL 2008, but I "only" can catch all the writes-updates from all sessions.

Any idea on how to catch modifications done by Micrososft SQL Server Management Studio? or add hostname/ip address of the client who did the change?

Thank you in advance.
Luis Cazares
Luis Cazares
SSC Guru
SSC Guru (127K reputation)SSC Guru (127K reputation)SSC Guru (127K reputation)SSC Guru (127K reputation)SSC Guru (127K reputation)SSC Guru (127K reputation)SSC Guru (127K reputation)SSC Guru (127K reputation)

Group: General Forum Members
Points: 127039 Visits: 21910
mig28mx - Wednesday, January 31, 2018 9:19 AM
Hi all,
I´m implementing an audit requirement in our SQL server. The front end is an ERP, so all the logins to the DB are the same login.
We need to audit any change done by the Management Studio not by the "natural" procedure done by the ERP.

I have tested some parameters in the out of the box auditing capabilites of SQL 2008, but I "only" can catch all the writes-updates from all sessions.

Any idea on how to catch modifications done by Micrososft SQL Server Management Studio? or add hostname/ip address of the client who did the change?

Thank you in advance.


Hostname and App name are part of the data captured for each session. I'm not sure what you are using for auditing but maybe you could filter by that.
Extended events if available or Profiler will be able to filter by application.


Luis C.
General Disclaimer:
Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?


How to post data/code on a forum to get the best help: Option 1 / Option 2
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search