CONSTITUENTSOURCEANALYSISCACHEADDRESS
Enables the caching of old constituent address values for source analysis.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NEEDSUPDATE |
bit |
|
Default = 0 |
|
DATEFROM |
datetime |
|
|
|
DATETO |
datetime |
yes |
|
|
PRIMARYADDRESSBLOCK |
nvarchar(150) |
|
Default = '' |
|
PRIMARYCITY |
nvarchar(50) |
|
Default = '' |
|
PRIMARYPOSTCODE |
nvarchar(12) |
|
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
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_CONSTITUENTSOURCEANALYSISCACHEADDRESS_CONSTITUENTID |
CONSTITUENTID |
|
|
|
IX_CONSTITUENTSOURCEANALYSISCACHEADDRESS_DATEADDED |
DATEADDED |
|
|
yes |
IX_CONSTITUENTSOURCEANALYSISCACHEADDRESS_DATECHANGED |
DATECHANGED |
|
|
|
PK_CONSTITUENTSOURCEANALYSISCACHEADDRESS |
ID |
yes |
yes |
|
Triggers