TRIBUTELETTERCODESITE (4.0SP14)

Information regarding the sites associated with a tribute letter.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

TRIBUTELETTERCODEID

uniqueidentifier

false

FK to TRIBUTELETTERCODE

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

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_TRIBUTELETTERCODESITE_DATEADDED

DATEADDED

False

False

True

IX_TRIBUTELETTERCODESITE_DATECHANGED

DATECHANGED

False

False

False

IX_TRIBUTELETTERCODESITE_SITEID

SITEID

False

False

False

PK_TRIBUTELETTERCODESITE

ID

True

True

False

UIX_TRIBUTELETTERCODESITE_TRIBUTELETTERCODEID_SITEID

TRIBUTELETTERCODEID

SITEID

True

False

False

Triggers
Trigger Name Description

TR_TRIBUTELETTERCODESITE_AUDIT_UPDATE

TR_TRIBUTELETTERCODESITE_AUDIT_DELETE