EVENTPREFERENCE

Contains information pertaining to event preferences.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = ''
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
EVENTPREFERENCEGROUPID uniqueidentifier EVENTPREFERENCEGROUP.ID FK to EVENTPREFERENCEGROUP
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_EVENTPREFERENCE_DATEADDED DATEADDED yes
IX_EVENTPREFERENCE_DATECHANGED DATECHANGED
PK_EVENTPREFERENCE ID yes yes
UIX_EVENTPREFERENCE_EVENTPREFERENCEGROUPID_NAME EVENTPREFERENCEGROUPID, NAME yes

Triggers

Trigger Name Description
TR_EVENTPREFERENCE_AUDIT_UPDATE
TR_EVENTPREFERENCE_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHREVENUEREGISTRANTPREFERENCE EVENTPREFERENCEID
REGISTRANTPREFERENCE EVENTPREFERENCEID