see the sqlserver audit features.
note: the docs don't go as far back as 2012 (which is in only extended support), but the major features were added in SQL Server 2008
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Would like to know is there any way -I wanted to know who access the database and that has only heap tables on what date/time,user,hostname,apps name....without running a trace/extended events.
SQL is 2012..
Query stats-seems not giving properly.
If no options exists apart from is there a way can be filter that database alone to capture for a month without running trace?.
see the sqlserver audit features.
note: the docs don't go as far back as 2012 (which is in only extended support), but the major features were added in SQL Server 2008
Hi @S_NO ,
Yes, you can try to use SQL Server Audit or SQL profiler for this purpose
This can help you enable SQL Server Audit:
https://blog.netwrix.com/2019/05/23/how-to-enable-sql-server-audit-and-review-the-audit-log/
-------------
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Is there any way..can I use DMV's (or) sysprocess to see the connections using automation way like instead of trace..like load connections data in to any of the database(i.e for this purpose) at least to get loaded 1month.
server and database is not using much..but still wanted to see any connections flows, as we have plan to decomission the database.