Editing Dbo.DatabaseLog (table)

Jump to: navigation, search

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"
|- valign="top"
+
|-
 
| '''Table
 
| '''Table
 
| dbo.DatabaseLog
 
| dbo.DatabaseLog
Line 8: Line 8:
 
| '''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.
 +
|-
 
|}
 
|}
  
=== Columns ===
+
 
 
{| 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 18:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''Description
+
| '''Description / PK / Index
 
+
 
|- valign="top"
 
|- valign="top"
 
| DatabaseLogID
 
| DatabaseLogID
Line 24: Line 25:
 
| not null
 
| not null
 
|  
 
|  
| Primary key for DatabaseLog records.
+
| Primary key for DatabaseLog records.<br />PK_DatabaseLog_DatabaseLogID
 
|- valign="top"
 
|- valign="top"
 
| PostTime
 
| PostTime
Line 30: Line 31:
 
| not null
 
| not null
 
|  
 
|  
| The date and time the DDL change occurred.
+
| The date and time the DDL change occurred.<br />
 
|- valign="top"
 
|- valign="top"
 
| DatabaseUser
 
| DatabaseUser
Line 36: Line 37:
 
| not null
 
| not null
 
|  
 
|  
| The user who implemented the DDL change.
+
| The user who implemented the DDL change.<br />
 
|- valign="top"
 
|- valign="top"
 
| Event
 
| Event
Line 42: Line 43:
 
| not null
 
| not null
 
|  
 
|  
| The type of DDL statement that was executed.
+
| The type of DDL statement that was executed.<br />
 
|- valign="top"
 
|- valign="top"
 
| Schema
 
| Schema
Line 48: Line 49:
 
| null
 
| null
 
|  
 
|  
| The schema to which the changed object belongs.
+
| The schema to which the changed object belongs.<br />
 
|- valign="top"
 
|- valign="top"
 
| Object
 
| Object
Line 54: Line 55:
 
| null
 
| null
 
|  
 
|  
| The object that was changed by the DDL statment.
+
| The object that was changed by the DDL statment.<br />
 
|- valign="top"
 
|- valign="top"
 
| TSQL
 
| TSQL
Line 60: Line 61:
 
| not null
 
| not null
 
|  
 
|  
| The exact Transact-SQL statement that was executed.
+
| The exact Transact-SQL statement that was executed.<br />
 
|- valign="top"
 
|- valign="top"
 
| XmlEvent
 
| XmlEvent
Line 66: Line 67:
 
| not null
 
| not null
 
|  
 
|  
| The raw XML data generated by database trigger.
+
| The raw XML data generated by database trigger.<br />
 
|}
 
|}
  
=== Primary Key ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
| '''Primary Key
 
| '''Columns
 
|- valign="top"
 
| PK_DatabaseLog_DatabaseLogID
 
| DatabaseLogID
 
|}
 
  
=== Dependencies ===
+
 
 
{| 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 86: Line 78:
 
| '''Referencing Object
 
| '''Referencing Object
  
|- valign="top"
+
|-
 
| Insert
 
| Insert
 
| Database Trigger
 
| Database Trigger
| [[ddlDatabaseTriggerLog_(database trigger)|ddlDatabaseTriggerLog]]
+
| [[ddlDatabaseTriggerLog_(database_trigger)|ddlDatabaseTriggerLog]]
  
 
|}
 
|}
 +
  
  

Please note that all contributions to dbscript Online Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)