EVENTGROUPMEMBER

Contains information pertaining to event group members.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
SEQUENCE int Default = 0
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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
EVENTGROUPID uniqueidentifier EVENTGROUP.ID FK to EVENTGROUP
REGISTRANTID uniqueidentifier REGISTRANT.ID FK to REGISTRANT
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_EVENTGROUPMEMBER_DATEADDED DATEADDED yes
IX_EVENTGROUPMEMBER_DATECHANGED DATECHANGED
IX_EVENTGROUPMEMBER_EVENTGROUPID EVENTGROUPID
IX_EVENTGROUPMEMBER_REGISTRANTID REGISTRANTID
PK_EVENTGROUPMEMBER ID yes yes
UC_EVENTGROUPMEMBER_REGISTRANTID REGISTRANTID yes

Triggers

Trigger Name Description
TR_CK_EVENTGROUPMEMBER_VALIDREGISTRANT
TR_EVENTGROUPMEMBER_AUDIT_UPDATE
TR_EVENTGROUPMEMBER_AUDIT_DELETE