EVENTLOCATIONROOM
Contains data about rooms at event locations.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
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. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_EVENTLOCATIONROOM_DATEADDED |
DATEADDED |
|
|
yes |
IX_EVENTLOCATIONROOM_DATECHANGED |
DATECHANGED |
|
|
|
PK_EVENTLOCATIONROOM |
ID |
yes |
yes |
|
UIX_EVENTLOCATIONROOM_EVENTLOCATIONID_NAME |
EVENTLOCATIONID, NAME |
yes |
|
|
Triggers
Referenced by
Referenced by |
Field |
BATCHEVENT
|
EVENTLOCATIONROOMID |
EVENT
|
EVENTLOCATIONROOMID |