Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Database auditing involves observing a database so as to be aware of the actions of database users.
0
votes
What is the best way to setup SQL Server audit to get all SELECT for schema?
Run the following 2 scripts and view Audit Logs. You will see just select statements.
1. … Second Script
USE [TARGET_DATABASE_NAME]
GO
CREATE DATABASE AUDIT SPECIFICATION [Audit_Data_Select_From_Database]
FOR SERVER AUDIT [Database_Select_Audit]
ADD (SELECT ON DATABASE::[TARGET_DATABASE_NAME …