Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.
 HTMLCOMMENT nvarchar(max)   Default = '' The comment text including HTML formatting.
 TEXTCOMMENT nvarchar(4000)   Default = '' The plain text of the comment.
 SEQUENCE int   Default = 0 Sequence number for the comment
 ISACTIVE bit   Default = 1 Active or inactive comment

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_DEFAULTCOMMENT_DATEADDED DATEADDED    
 IX_DEFAULTCOMMENT_DATECHANGED DATECHANGED      
 PK_DEFAULTCOMMENT ID  
 UIX_DEFAULTCOMMENT_SEQUENCE SEQUENCE    

Trigger Name Description
 TR_DEFAULTCOMMENT_AUDIT_UPDATE
 TR_DEFAULTCOMMENT_AUDIT_DELETE