WPPOLITICALDONATION
Contains WealthPoint Political Donation data.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| CONFIRMED |
bit |
|
Default = 0 |
|
| DATECONFIRMED |
datetime |
yes |
|
|
| REJECTED |
bit |
|
Default = 0 |
|
| DATEREJECTED |
datetime |
yes |
|
|
| SOURCE |
nvarchar(100) |
|
Default = '' |
|
| FECID |
int |
|
Default = 0 |
|
| REVISION |
int |
|
Default = 0 |
|
| ORIGINALID |
int |
|
Default = 0 |
|
| NEWROW |
bit |
|
Default = 0 |
|
| CDATE |
datetime |
yes |
|
|
| CVALUE |
money |
|
Default = 0 |
|
| CNOTES |
nvarchar(1024) |
|
Default = '' |
|
| FULLHASH |
nvarchar(32) |
|
Default = '' |
|
| PARTIALHASH |
nvarchar(32) |
|
Default = '' |
|
| MC |
nvarchar(3) |
|
Default = '' |
|
| FULLNAME |
nvarchar(100) |
|
Default = '' |
|
| TRANSACTIONDATE |
datetime |
yes |
|
|
| DN_ORGANIZATIONNAME |
nvarchar(100) |
|
Default = '' |
|
| AMOUNT |
money |
|
Default = 0 |
|
| OCCUPATION |
nvarchar(100) |
|
Default = '' |
|
| CITY |
nvarchar(30) |
|
Default = '' |
|
| STATE |
nvarchar(100) |
|
Default = '' |
|
| ZIP |
nvarchar(10) |
|
Default = '' |
|
| VIEWED |
bit |
|
Default = 0 |
|
| 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. |
| RECURSIVEMATCH |
bit |
|
Default = 0 |
|
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| WEALTHID |
uniqueidentifier |
|
WEALTH.ID
|
FK to WEALTH |
| CONFIRMEDBYAPPUSERID |
uniqueidentifier |
yes |
APPUSER.ID
|
FK to APPUSER |
| REJECTEDBYAPPUSERID |
uniqueidentifier |
yes |
APPUSER.ID
|
FK to APPUSER |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_WPPOLITICALDONATION_DATEADDED |
DATEADDED |
|
|
yes |
| IX_WPPOLITICALDONATION_DATECHANGED |
DATECHANGED |
|
|
|
| IX_WPPOLITICALDONATION_WEALTHID |
WEALTHID |
|
|
|
| IX_WPPOLITICALDONATION_WEALTHID_FULLHASH |
WEALTHID, FULLHASH |
|
|
|
| IX_WPPOLITICALDONATION_WEALTHID_PARTIALHASH |
WEALTHID, PARTIALHASH |
|
|
|
| PK_WPPOLITICALDONATION |
ID |
yes |
yes |
|
Triggers