Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 FILTERTYPECODE tinyint   Default = 0
 FILTERTYPE nvarchar(7) (Computed) CASE [FILTERTYPECODE] WHEN 0 THEN N'Include' WHEN 1 THEN N'Exclude' END
 DATEADDED datetime   Default = getdate()
 DATECHANGED datetime   Default = getdate()
 TS timestamp  
 TSLONG bigint (Computed) CONVERT(bigint, TS)

Foreign Key Field Type Null Notes Description
 COMMUNICATIONLETTERID uniqueidentifier   COMMUNICATIONLETTER.ID
 IDSETREGISTERID uniqueidentifier   IDSETREGISTER.ID
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID

Index Name Field(s) Unique Primary Clustered
 IX_COMMUNICATIONLETTERSELECTION_COMMUNICATIONLETTERID COMMUNICATIONLETTERID      
 IX_COMMUNICATIONLETTERSELECTION_DATEADDED DATEADDED    
 IX_COMMUNICATIONLETTERSELECTION_DATECHANGED DATECHANGED      
 IX_COMMUNICATIONLETTERSELECTION_IDSETREGISTERID IDSETREGISTERID      
 PK_COMMUNICATIONLETTERSELECTION ID  

Trigger Name Description
 TR_COMMUNICATIONLETTERSELECTION_AUDIT_UPDATE
 TR_COMMUNICATIONLETTERSELECTION_AUDIT_DELETE

Entity-Relationship diagram of this table