EVENTREGISTRATIONTYPE

Contains information pertaining to event registration types.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
DESCRIPTION nvarchar(100) Default = ''
ISACTIVE bit Default = 1
REGISTRATIONCOUNT int Default = 0 Designates the number of registrants paid for by the registration type.
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
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_EVENTREGISTRATIONTYPE_DATEADDED DATEADDED yes
IX_EVENTREGISTRATIONTYPE_DATECHANGED DATECHANGED
PK_EVENTREGISTRATIONTYPE ID yes yes
UC_EVENTREGISTRATIONTYPE_DESCRIPTION DESCRIPTION yes

Triggers

Trigger Name Description
TR_EVENTREGISTRATIONTYPE_AUDIT_UPDATE
TR_EVENTREGISTRATIONTYPE_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHEVENTPRICE EVENTREGISTRATIONTYPEID
EVENTPRICE EVENTREGISTRATIONTYPEID