SQL Server Audit Action Group: BATCH_STARTED_GROUP

Available in New to:
Database
Audit
Specification
Server
Audit
Specification
2012 2016
• (SQL 2019+) • (SQL 2022+)  

If you enable this group on a given database or server, you will audit batch text, stored procedure, or transaction management operations. This happens before execution and audits the entire batch or stored procedure text, as sent from the client.

LOGbinder for SQL Server events generated under this Audit Action Group:

Event ID Description
24400 Batch start succeeded
24401 Batch start failed
24404 RPC start succeeded
24405 RPC start failed

 

Additional Resources