EVENTLOCATIONROOM (4.0SP17)

Contains data about rooms at event locations.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

EVENTLOCATIONID

uniqueidentifier

false

The event location containing the room.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

The room name or number.

CAPACITY

int

false

0

The maximum number of people the room can hold.

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_EVENTLOCATIONROOM_DATEADDED

DATEADDED

False

False

True

IX_EVENTLOCATIONROOM_DATECHANGED

DATECHANGED

False

False

False

PK_EVENTLOCATIONROOM

ID

True

True

False

UIX_EVENTLOCATIONROOM_EVENTLOCATIONID_NAME

EVENTLOCATIONID

NAME

True

False

False

Triggers
Trigger Name Description

TR_EVENTLOCATIONROOM_AUDIT_UPDATE

TR_EVENTLOCATIONROOM_AUDIT_DELETE

Referenced by
Referenced by Field

BATCHEVENT

EVENTLOCATIONROOMID

EVENT

EVENTLOCATIONROOMID