Audit table tracking all DDL changes made to the AdventureWorks database. Data is captured by the database trigger ddlDatabaseTriggerLog.
| Creation Date | 27/10/2017 14:33 |
| File Group | PRIMARY |
| Text File Group | PRIMARY |
| System Object | ![]() |
| Published for Replication | ![]() |
| Rows | 1596 |
| Data Space Used | 6,544.00 KB |
| Index Space Used | 56.00 KB |
| Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
|---|---|---|---|---|---|---|---|
| DatabaseLogID | Primary key for DatabaseLog records. | Integer | 4 | |||
| PostTime | The date and time the DDL change occurred. | DBTimeStamp | 4 | ||||
| DatabaseUser | The user who implemented the DDL change. | VarWChar | 128 | ||||
| Event | The type of DDL statement that was executed. | VarWChar | 128 | ||||
| Schema | The schema to which the changed object belongs. | VarWChar | 128 | ![]() | |||
| Object | The object that was changed by the DDL statment. | VarWChar | 128 | ![]() | |||
| TSQL | The exact Transact-SQL statement that was executed. | LongVarWChar | 16 | ||||
| XmlEvent | The raw XML data generated by database trigger. | Xml | 0 |
| Index | Description | Primary | Unique |
|---|---|---|---|
| PK_DatabaseLog_DatabaseLogID | Primary key (nonclustered) constraint | ![]() | ![]() |
|