EVENTSPEAKER

Contains information pertaining to event speaker.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
SPEAKINGDATE datetime yes
SPEAKINGTIME UDT_HOURMINUTE Default = ''
TOPIC nvarchar(250) Default = ''
COMMENT nvarchar(max) Default = ''
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.
ISREGISTRANT bit (Computed) yes dbo.UFN_EVENT_CONSTITUENTISREGISTRANT(EVENTID, CONSTITUENTID)

Foreign Keys

Foreign Key Field Type Null Notes Description
EVENTID uniqueidentifier EVENT.ID FK to EVENT
CONSTITUENTID uniqueidentifier CONSTITUENT.LOCALID FK to CONSTITUENT
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_EVENTSPEAKER_DATEADDED DATEADDED yes
IX_EVENTSPEAKER_DATECHANGED DATECHANGED
PK_EVENTSPEAKER ID yes yes
UIX_EVENTSPEAKER_EVENTID_CONSTITUENTID EVENTID, CONSTITUENTID yes

Triggers

Trigger Name Description
TR_EVENTSPEAKER_AUDIT_UPDATE
TR_EVENTSPEAKER_AUDIT_DELETE