CMSNOTIFICATIONROLE

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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
NOTIFICATIONID int NC_Notification.ID
CLIENTROLEID int ClientRoles.ID
ADDEDBYID uniqueidentifier CHANGEAGENT.ID
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_CMSNOTIFICATIONROLE_DATEADDED DATEADDED yes
IX_CMSNOTIFICATIONROLE_DATECHANGED DATECHANGED
PK_CMSNOTIFICATIONROLE ID yes yes

Triggers

Trigger Name Description
TR_CMSNOTIFICATIONROLE_AUDIT_UPDATE
TR_CMSNOTIFICATIONROLE_AUDIT_DELETE