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.

Foreign Key Field Type Null Notes Description
 CONSTITUENTID uniqueidentifier CONSTITUENT.LOCALID The constituent to which the security attribute is assigned.
 CONSTIT_SECURITY_ATTRIBUTEID uniqueidentifier CONSTIT_SECURITY_ATTRIBUTE.ID The ID of the constituent security attribute that is assigned.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT_DATEADDED DATEADDED    
 IX_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT_DATECHANGED DATECHANGED      
 PK_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT ID  
 UIX_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT_CONSTITUENTID_CONSTIT_SECURITY_ATTRIBUTEID CONSTITUENTID, CONSTIT_SECURITY_ATTRIBUTEID    

Trigger Name Description
 TR_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT_AUDIT_ETLDELETEDID
 TR_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT_AUDIT_UPDATE
 TR_CONSTIT_SECURITY_ATTRIBUTE_ASSIGNMENT_AUDIT_DELETE

Entity-Relationship diagram of this table