EVENTREGISTRATIONOPPORTUNITY

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
DATEADDED datetime Default = getdate()
DATECHANGED datetime Default = getdate()
TS timestamp
TSLONG bigint (Computed) yes CONVERT(bigint, TS)

Foreign Keys

Foreign Key Field Type Null Notes Description
ID uniqueidentifier REGISTRANT.ID
OPPORTUNITYID uniqueidentifier yes OPPORTUNITY.ID
ADDEDBYID uniqueidentifier CHANGEAGENT.ID
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_EVENTREGISTRATIONOPPORTUNITY_DATEADDED DATEADDED yes
IX_EVENTREGISTRATIONOPPORTUNITY_DATECHANGED DATECHANGED
PK_EVENTREGISTRATIONOPPORTUNITY ID yes yes

Triggers

Trigger Name Description
TR_EVENTREGISTRATIONOPPORTUNITY_AUDIT_ETLDELETEDID
TR_EVENTREGISTRATIONOPPORTUNITY_AUDIT_UPDATE
TR_EVENTREGISTRATIONOPPORTUNITY_AUDIT_DELETE