| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
DEFAULT |
bit | Default = 0 | Determines whether the event designation is default or not. | |
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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
EVENTID |
uniqueidentifier | ![]() |
EVENT.ID | The event the lodging location is linked to. |
DESIGNATIONID |
uniqueidentifier | ![]() |
DESIGNATION.ID | The designation the event is linked to. |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_EVENTDESIGNATION_DATEADDED |
DATEADDED | ![]() |
||
IX_EVENTDESIGNATION_DATECHANGED |
DATECHANGED | |||
PK_EVENTDESIGNATION |
ID | ![]() |
![]() |
|
UIX_EVENTDESIGNATION_EVENTID_DESIGNATIONID |
EVENTID, DESIGNATIONID | ![]() |
| Trigger Name | Description |
|---|---|
TR_EVENTDESIGNATION_AUDIT_UPDATE |
|
TR_EVENTDESIGNATION_AUDIT_DELETE |
|
TR_EVENTDESIGNATION_VALIDATEDELETE |

ID
DEFAULT
TSLONG
EVENTID
IX_EVENTDESIGNATION_DATEADDED
IX_EVENTDESIGNATION_DATECHANGED