EXCHANGEADDRESSMAPPING

Contains a list of mapped address types to be used for exchange integration.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
OUTLOOKADDRESSTYPECODE tinyint Default = 0 0=Business, 1=Home, 2=Other
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.
OUTLOOKADDRESSTYPE nvarchar(8) (Computed) yes CASE [OUTLOOKADDRESSTYPECODE] WHEN 0 THEN N'Business' WHEN 1 THEN N'Home' WHEN 2 THEN N'Other' END Provides a translation for the 'OUTLOOKADDRESSTYPECODE' field.

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDRESSTYPECODEID uniqueidentifier ADDRESSTYPECODE.ID FK to ADDRESSTYPECODE
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_EXCHANGEADDRESSMAPPING_DATEADDED DATEADDED yes
IX_EXCHANGEADDRESSMAPPING_DATECHANGED DATECHANGED
PK_EXCHANGEADDRESSMAPPING ID yes yes
UIX_EXCHANGEADDRESSMAPPING_ADDRESSTYPECODEID ADDRESSTYPECODEID yes

Triggers

Trigger Name Description
TR_EXCHANGEADDRESSMAPPING_AUDIT_UPDATE
TR_EXCHANGEADDRESSMAPPING_AUDIT_DELETE