Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there any feature in sql server 2012 or in any version , wherein I can track all DB activities(DDL and DML) and others in one single query with who has modified and from where and when?
I need hostname or IP adddress as well.


What I have tried:

I tried below features which has some limitations
SQL Audit(Unable to track IP)
Event(Unable to track DML operations)
Trace(Unable to track DML operations)
Please help
Posted
Updated 8-Oct-16 8:49am

Although I haven't used it much, i think you can start your research with SQL Server Profiler-
https://msdn.microsoft.com/en-us/library/ms181091.aspx[^]

If you need much more details than all these then I think you need to look for third party tool.

Hope, it helps :)
 
Share this answer
 
I used trace files(which is profiler only but query not GUI) to get data but its not tracking select, insert and delete statements.
I know GUI gives you everything but i dont want to run GUI.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900