EVENTSEATINGSEAT

Contains information pertaining to the event seating seat.

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
EVENTSEATINGSUBSECTIONID uniqueidentifier EVENTSEATINGSUBSECTION.ID FK to EVENTSEATINGSUBSECTION
REGISTRANTID uniqueidentifier yes 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_EVENTSEATINGSEAT_DATEADDED DATEADDED yes
IX_EVENTSEATINGSEAT_DATECHANGED DATECHANGED
IX_EVENTSEATINGSEAT_EVENTSEATINGSUBSECTIONID EVENTSEATINGSUBSECTIONID
IX_EVENTSEATINGSEAT_REGISTRANTID REGISTRANTID
PK_EVENTSEATINGSEAT ID yes yes

Triggers

Trigger Name Description
TR_EVENTSEATINGSEAT_AUDIT_UPDATE
TR_EVENTSEATINGSEAT_AUDIT_DELETE