Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(100)   Default = ''
 SEQUENCE int   Default = 0 Stores the user-defined sequence for subcategory.
 ISINACTIVE bit   Default = 0 Indicates whether or not the record is active.
 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.

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

Index Name Field(s) Unique Primary Clustered
 IX_INTERACTIONSUBCATEGORY_DATEADDED DATEADDED    
 IX_INTERACTIONSUBCATEGORY_DATECHANGED DATECHANGED      
 PK_INTERACTIONSUBCATEGORY ID  
 UIX_INTERACTIONSUBCATEGORY_INTERACTIONCATEGORYID_NAME INTERACTIONCATEGORYID, NAME    

Trigger Name Description
 TR_INTERACTIONSUBCATEGORY_AUDIT_UPDATE
 TR_INTERACTIONSUBCATEGORY_AUDIT_DELETE
 TR_INTERACTIONSUBCATEGORY_T2BDELETE
 TR_INTERACTIONSUBCATEGORY_AUDIT_ETLDELETEDID

Referenced by Field
 BATCHINTERACTION INTERACTIONSUBCATEGORYID
 INTERACTION INTERACTIONSUBCATEGORYID

Entity-Relationship diagram of this table