WEALTHPOINTCREDENTIALS

Contains the usernames and passwords for the WealthPoint service.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
USERNAME nvarchar(100) Default = ''
PASSWORD nvarchar(4000) Default = ''
ISDEFAULT bit (Computed) yes case ID when '00000000-0000-0000-0000-000000000000' then convert(bit,1) else convert(bit,0) end Indicates that this row represents the default credentials. It cannot be deleted.
DESCRIPTION nvarchar(1000) Default = ''
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
ID uniqueidentifier APPUSER.ID Primary Key.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_WEALTHPOINTCREDENTIALS_DATEADDED DATEADDED yes
IX_WEALTHPOINTCREDENTIALS_DATECHANGED DATECHANGED
PK_WEALTHPOINTCREDENTIALS ID yes yes

Triggers

Trigger Name Description
TR_WEALTHPOINTCREDENTIALS_AUDIT_UPDATE
TR_WEALTHPOINTCREDENTIALS_AUDIT_DELETE