September 2010
Intermediate to advanced
1704 pages
111h 8m
English
Alternatively, you can set up auditing with T-SQL statements and also switch the audit off and on using the ALTER SERVER AUDIT command by using WITH (STATE=ON) or WITH (STATE=OFF), as shown in Listing 13.1.
Listing 13.1 Setting Up Auditing with T-SQL


It is recommended that you create your audit specifications with scripts so that you can easily manage them and not have to re-create them via SSMS dialogs.
Read now
Unlock full access