Quantcast
Channel: Active questions tagged audit - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 153

What is the best way to setup SQL Server audit to get all SELECT for schema?

$
0
0

My goal:

  1. Show all tables from specific schema which are used in SELECT queries for all users in SQL Server database.
  2. [Optional] Show all tables from specific schema which are used in queries for all users (around 300 sql and AD users) except one user in SQL Server database.

I have added specification:enter image description here

But still see deletes/inserts/updates:enter image description here

Questions:

  1. Is audit log best option to achieve my goal ?
  2. What specification should I use ?

Viewing all articles
Browse latest Browse all 153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>