Editing Dbo.DatabaseLog (table)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- |
| '''Table | | '''Table | ||
| dbo.DatabaseLog | | dbo.DatabaseLog | ||
− | |- | + | |- |
− | |||
− | |||
|} | |} | ||
− | + | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 17: | Line 15: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | ''' | + | | '''PK |
− | + | | '''Index | |
− | |- | + | |
+ | |- | ||
| DatabaseLogID | | DatabaseLogID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | | + | | PK_DatabaseLog_DatabaseLogID |
− | |- | + | | |
+ | |- | ||
| PostTime | | PostTime | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| DatabaseUser | | DatabaseUser | ||
| sysname | | sysname | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| Event | | Event | ||
| sysname | | sysname | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| Schema | | Schema | ||
| sysname | | sysname | ||
| null | | null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| Object | | Object | ||
| sysname | | sysname | ||
| null | | null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| TSQL | | TSQL | ||
| nvarchar(max) | | nvarchar(max) | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| XmlEvent | | XmlEvent | ||
| xml | | xml | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | | | + | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | |||
− | |||
== automatically generated == | == automatically generated == | ||
Line 101: | Line 82: | ||
| dbo.DatabaseLog | | dbo.DatabaseLog | ||
|- valign="top" | |- valign="top" | ||
+ | |||
| '''Description | | '''Description | ||
| Audit table tracking all DDL changes made to the AdventureWorks database. Data is captured by the database trigger ddlDatabaseTriggerLog. | | Audit table tracking all DDL changes made to the AdventureWorks database. Data is captured by the database trigger ddlDatabaseTriggerLog. | ||
|- | |- | ||
+ | |||
|} | |} | ||
Line 176: | Line 159: | ||
| Insert | | Insert | ||
| Database Trigger | | Database Trigger | ||
− | | [[ddlDatabaseTriggerLog_(database_trigger)|ddlDatabaseTriggerLog]] | + | | [[ddlDatabaseTriggerLog_(database_trigger)|false.ddlDatabaseTriggerLog]] |
|} | |} |