MICROSITEPAGE

Roster of pages generated by microsite.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
OBJECTID uniqueidentifier ID of the record in the table specified by TableCatalogID, so a designation ID, or a program ID, ...
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.
EXCLUDED bit Default = 0 Soft delete.

Foreign Keys

Foreign Key Field Type Null Notes Description
PRIMARYCONTENTID int yes SiteContent.ID cid (part id)
SITEPAGESID int SitePages.ID pid (page id)
TABLECATALOGID uniqueidentifier TABLECATALOG.ID the table to find the objectid value in, so designation, program, ...
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MICROSITEPAGE_DATEADDED DATEADDED yes
IX_MICROSITEPAGE_DATECHANGED DATECHANGED
PK_MICROSITEPAGE ID yes yes
UIX_MICROSITEPAGE_OBJECTID OBJECTID yes

Triggers

Trigger Name Description
TR_MICROSITEPAGE_AUDIT_UPDATE
TR_MICROSITEPAGE_AUDIT_DELETE