Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 STYLESHEETID int   Default = 0 Integer primary key of stylesheet to be used in this theme
 SEQUENCE int   Default = 0 Order of this stylesheet as applied to a page in this theme
 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.

Foreign Key Field Type Null Notes Description
 THEMEID uniqueidentifier THEME.ID FK to THEME
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_THEMESTYLESHEET_DATEADDED DATEADDED    
 IX_THEMESTYLESHEET_DATECHANGED DATECHANGED      
 PK_THEMESTYLESHEET ID  

Trigger Name Description
 TR_THEMESTYLESHEET_AUDIT_UPDATE
 TR_THEMESTYLESHEET_AUDIT_DELETE

Entity-Relationship diagram of this table