| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NAME |
nvarchar(250) | Default = '' | Stores the name of the site | |
DESCRIPTION |
nvarchar(max) | Default = '' | Stores the description of the site | |
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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
HIERARCHYPATH |
hierarchyid | Default = ([dbo].[UFN_SITEHIERARCHY_GETNEWDESCENDANTVALUE](NULL)) | Stores the hierarchy path | |
SHORTNAME |
nvarchar(100) | Default = '' | Stores the short name of the site | |
SITEID |
nvarchar(100) | Default = '' | Stores the site id | |
ACRONYM |
nvarchar(100) | Default = '' | Stores the acronym of the site |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
SITETYPECODEID |
uniqueidentifier | ![]() |
SITETYPECODE.ID | Stores the type of site |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_SITE_DATEADDED |
DATEADDED | ![]() |
||
IX_SITE_DATECHANGED |
DATECHANGED | |||
IX_SITE_ID_NAME |
ID, NAME | |||
IX_SITE_NAME_ID |
NAME, ID | |||
PK_SITE |
ID | ![]() |
![]() |
|
UC_SITE_HIERARCHYPATH |
HIERARCHYPATH | ![]() |
| Trigger Name | Description |
|---|---|
TR_SITE_INSERTED |
|
TR_SITE_UPDATED |
|
TR_SITE_AUDIT_UPDATE |
|
TR_SITE_AUDIT_DELETE |
|
TR_SITE_AUDIT_ETLDELETEDID |
Entity-Relationship diagram of this table (BATCHCONSTITUENTUPDATESITES-EVENTAUTOMATCHSITE)
Entity-Relationship diagram of this table (EVENTCATEGORYCODESITE-IMPORTSELECTIONPROCESS)
Entity-Relationship diagram of this table (IMPORTSOURCE-MKTMARKETINGPLAN)
Entity-Relationship diagram of this table (MKTMARKETINGPLANTEMPLATE-PDACCOUNTSTRUCTURE)
Entity-Relationship diagram of this table (PDACCOUNTSYSTEMSITE-STEWARDSHIPPLANSITE)
Entity-Relationship diagram of this table (STEWARDSHIPPLANTEMPLATESITE-TRIBUTESITE)

ID
NAME
TSLONG
ADDEDBYID
IX_SITE_DATEADDED
IX_SITE_DATECHANGED