| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NAME |
nvarchar(100) | Default = '' | The room name or number. | |
CAPACITY |
int | Default = 0 | The maximum number of people the room can hold. | |
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 |
|---|---|---|---|---|
EVENTLOCATIONID |
uniqueidentifier | EVENTLOCATION.ID | The event location containing the room. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_EVENTLOCATIONROOM_DATEADDED |
DATEADDED | ![]() |
||
IX_EVENTLOCATIONROOM_DATECHANGED |
DATECHANGED | |||
PK_EVENTLOCATIONROOM |
ID | ![]() |
![]() |
|
UIX_EVENTLOCATIONROOM_EVENTLOCATIONID_NAME |
EVENTLOCATIONID, NAME | ![]() |
| Trigger Name | Description |
|---|---|
TR_EVENTLOCATIONROOM_AUDIT_UPDATE |
|
TR_EVENTLOCATIONROOM_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
BATCHEVENT |
EVENTLOCATIONROOMID |
EVENT |
EVENTLOCATIONROOMID |

ID
NAME
TSLONG
EVENTLOCATIONID
IX_EVENTLOCATIONROOM_DATEADDED
IX_EVENTLOCATIONROOM_DATECHANGED