WPSECURITIESHISTORY (4.0SP14)

Contains WealthPoint Securities history data.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

WPSECURITIESID

uniqueidentifier

false

FK to WPSECURITIES

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

SOURCE

nvarchar(100)

false

''

FULLHASH

nvarchar(32)

false

''

PARTIALHASH

nvarchar(32)

false

''

FULLNAME

nvarchar(60)

false

''

CUSIP

nvarchar(9)

false

''

FILERID

nvarchar(20)

false

''

RELATIONSHIP

nvarchar(50)

false

''

TICKER

nvarchar(8)

false

''

ISSUERNAME

nvarchar(60)

false

''

REPORTDATEDIRECT

datetime

true

REPORTDATEINDIRECT

datetime

true

AMOUNTOWNEDDIRECT

bigint

false

((0))

AMOUNTOWNEDINDIRECT

bigint

false

((0))

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_WPSECURITIESHISTORY_DATEADDED

DATEADDED

False

False

True

IX_WPSECURITIESHISTORY_DATECHANGED

DATECHANGED

False

False

False

IX_WPSECURITIESHISTORY_WPSECURITIESID

WPSECURITIESID

False

False

False

PK_WPSECURITIESHISTORY

ID

True

True

False

Triggers
Trigger Name Description

TR_WPSECURITIESHISTORY_AUDIT_UPDATE

TR_WPSECURITIESHISTORY_AUDIT_DELETE