APPUSERARCHIVE

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
APPUSERID uniqueidentifier yes
DISPLAYNAME nvarchar(255) Default = ''
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
ADDEDBYID uniqueidentifier CHANGEAGENT.ID
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_APPUSERARCHIVE_DATEADDED DATEADDED yes
IX_APPUSERARCHIVE_DATECHANGED DATECHANGED
PK_APPUSERARCHIVE ID yes yes
UIX_APPUSERARCHIVE_APPUSERID APPUSERID yes

Triggers

Trigger Name Description
TR_APPUSERARCHIVE_AUDIT_UPDATE
TR_APPUSERARCHIVE_AUDIT_DELETE