event classes
#event-classes#audit-database-management-event-class

Audit Database Management Event Class

The event class occurs when a database is created, altered, or dropped.

The

event class occurs when a database is created, altered, or

dropped.

Description

Name of the client application that created the

connection to an instance of Microsoft SQL

Server. This column is populated with the values

passed by the application rather than the

displayed name of the program.

10

Yes

ID of the database specified by the USE

database

statement or the default database if

no USE

database

statement has been issued for

a given instance. SQL Server Profiler displays

the name of the database if the Server Name

data column is captured in the trace and the

server is available. Determine the value for a

database by using the DB_ID function.

3

Yes

Name of the database in which the user

statement is running.

35

Yes

user name of the client.

40

Yes

Sequence of a given event within the request.

51

No

Type of event subclass.

1=Create

2=Alter

3=Drop

4=Dump

21

Yes

Expand table