SEARCHPART_CLIENTSITES

Association table between SearchPart records and the CMS Client Sites that they will search.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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
SEARCHPARTID int SearchPart.ID FK to SEARCHPART
CLIENTSITESID int ClientSites.ID FK to CLIENTSITES
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_SEARCHPART_CLIENTSITES_DATEADDED DATEADDED yes
IX_SEARCHPART_CLIENTSITES_DATECHANGED DATECHANGED
PK_SEARCHPART_CLIENTSITES ID yes yes
UIX_SEARCHPART_CLIENTSITES_SEARCHPARTID_CLIENTSITESID SEARCHPARTID, CLIENTSITESID yes

Triggers

Trigger Name Description
TR_SEARCHPART_CLIENTSITES_AUDIT_UPDATE
TR_SEARCHPART_CLIENTSITES_AUDIT_DELETE