SQL Server Audit Log Event ID 24042
SourceSQL Server (LOGbinder SQL)
Action GroupDATABASE_OPERATION_GROUP
Windows Security Log
Category
 • Subcategory
Object Access
 • Application Generated
Type Success
Discussions on Event ID 24042
Ask a question about this event

24042: Issued a view database state command

This is a SQL Server audit event from LOGbinder SQL generated by Action Group  DATABASE_OPERATION_GROUP.

On this page

A command was issued to view the state of a database

FieldDescription
OccurredWhen event was reported by SQL Server
Authorization resultIf the command passed authorization checks
Session IDID of the session on which the event occurred
User
Server
DatabaseDatabase affected by the event
StatementTransact-SQL statement

Top 10 Windows Security Events to Monitor

Issued a view database state command
A command was issued to view the state of a database
Action Group: DATABASE_OPERATION_GROUP
Occurred: 8/22/2013 6:09:46.0000000 PM
Authorization result: Access allowed
Session ID: 62
User: LB\dev4sqlc
Server: DEV3
Database: WSS_Logging
Statement: SELECT ; @ReservedBytes=SUM (reserved_page_count)*8*1024,; @UsedBytes =SUM (used_page_count)*8*1024; FROM ; sys.dm_db_partition_stats WITH (NOLOCK); WHERE ; object_id = object_id(@PartitionName); --Use UsedBytes if we are not close to fill the table.

For more information, see http://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=24042

Keep me up-to-date on the Windows Security Log.
Email*:
*We will NOT share this

Where Does This Event Come From?

This Event Is Produced By