GLOBALCHANGE

Contains data describing global change instances.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = ''
GLOBALCHANGEDATAFORMITEM xml yes Stores the saved parameters for the global change stored procedure.
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.
LASTRUNON datetime yes Stores the date that the global change was last updated. This value is used to filter records based on the record's DATECHANGED value.

Foreign Keys

Foreign Key Field Type Null Notes Description
GLOBALCHANGECATALOGID uniqueidentifier GLOBALCHANGECATALOG.ID Join field for the global change definition.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_GLOBALCHANGE_DATEADDED DATEADDED yes
IX_GLOBALCHANGE_DATECHANGED DATECHANGED
PK_GLOBALCHANGE ID yes yes
UIX_GLOBALCHANGE_GLOBALCHANGECATALOGID_NAME GLOBALCHANGECATALOGID, NAME yes

Triggers

Trigger Name Description
TR_GLOBALCHANGE_AUDIT_UPDATE
TR_GLOBALCHANGE_AUDIT_DELETE

Referenced by

Referenced by Field
GLOBALCHANGESTATUS PARAMETERSETID