BATCHEVENTSITE (4.0SP17)

Contains information pertaining to an event's sites.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BATCHEVENTID

uniqueidentifier

false

FK to BATCHEVENT

SITEID

uniqueidentifier

false

FK to SITE

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

SEQUENCE

int

false

0

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_BATCHEVENTSITE_BATCHEVENTID

BATCHEVENTID

False

False

False

IX_BATCHEVENTSITE_DATEADDED

DATEADDED

False

False

True

IX_BATCHEVENTSITE_DATECHANGED

DATECHANGED

False

False

False

IX_BATCHEVENTSITE_SITEID

SITEID

False

False

False

PK_BATCHEVENTSITE

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHEVENTSITE_AUDIT_UPDATE

TR_BATCHEVENTSITE_AUDIT_DELETE