MICROSITECONTENT

Part content data for Microsite header and footer parts.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
STORAGEHTML nvarchar(max) Default = '' HTML in storage form.
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.
CANSIGNIN bit Default = 0 Can display sign in controls

Foreign Keys

Foreign Key Field Type Null Notes Description
CONTENTID int SiteContent.ID Reference to the sitecontent record for this part.
IMAGEID int yes SiteImages.ID Linked image record for this content. Used as banner, logo, or background to content.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MICROSITECONTENT_DATEADDED DATEADDED yes
IX_MICROSITECONTENT_DATECHANGED DATECHANGED
PK_MICROSITECONTENT ID yes yes
UC_MICROSITECONTENT_CONTENTID CONTENTID yes

Triggers

Trigger Name Description
TR_MICROSITECONTENT_AUDIT_UPDATE
TR_MICROSITECONTENT_AUDIT_DELETE