MS SQL Server Audit Event: 24040

MS SQL Server Auditing Tool

Databases are critical to enterprises because they store confidential data. Hence it becomes important to monitor database logs. But manually auditing them is a herculean task because of the enormous amount of log data generated. ManageEngine's EventLog Analyzer is a comprehensive log management tool that makes it easy for you to monitor all database activities, audit user accesses, track database server account changes, and ensure integrity of confidential data stored, especially in your MS SQL server database.

SQL » 24040: Issued a database show plan command

24040: Issued a database show plan command

Show plan is a feature in SQL server to read and display query plans. It is an important diagnostic tool to identify and locate problems, in case of any in the SQL server. Event 24040 occurs when a database show plan command has been issued in an SQL server. It is generated by the DATABASE_OPERATION_GROUP action group. Important information can be derived from this event including the:

  • Date and time at which the event occurred.
  • Session identifier of the event.
  • Privileged user who performed the action.
  • Database associated with the event.