EVENTDESIGNATION (4.0SP20)

Links events and event designations.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

EVENTID

uniqueidentifier

true

The event the lodging location is linked to.

DESIGNATIONID

uniqueidentifier

true

The designation the event is linked to.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DEFAULT

bit

false

0

Determines whether the event designation is default or not.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_EVENTDESIGNATION_DATEADDED

DATEADDED

False

False

True

IX_EVENTDESIGNATION_DATECHANGED

DATECHANGED

False

False

False

PK_EVENTDESIGNATION

ID

True

True

False

UIX_EVENTDESIGNATION_EVENTID_DESIGNATIONID

EVENTID

DESIGNATIONID

True

False

False

Triggers
Trigger Name Description

TR_EVENTDESIGNATION_AUDIT_UPDATE

TR_EVENTDESIGNATION_AUDIT_DELETE

TR_EVENTDESIGNATION_VALIDATEDELETE