PERSONALNOTESSETTINGS

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
ONSUBMITPAGEID int Default = 0
NOTETYPECODEIDS xml
DATEADDED datetime Default = getdate()
DATECHANGED datetime Default = getdate()
TS timestamp
TSLONG bigint (Computed) yes CONVERT(bigint, TS)

Foreign Keys

Foreign Key Field Type Null Notes Description
SITECONTENTID int SiteContent.ID
ADDEDBYID uniqueidentifier CHANGEAGENT.ID
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_PERSONALNOTESSETTINGS_DATEADDED DATEADDED yes
IX_PERSONALNOTESSETTINGS_DATECHANGED DATECHANGED
PK_PERSONALNOTESSETTINGS ID yes yes
UC_PERSONALNOTESSETTINGS_SITECONTENTID SITECONTENTID yes

Triggers

Trigger Name Description
TR_PERSONALNOTESSETTINGS_AUDIT_UPDATE
TR_PERSONALNOTESSETTINGS_AUDIT_DELETE