BATCHCONSTITUENTADDRESSUPDATE
Stores constituent address update batch information.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| ADDRESSBLOCK |
nvarchar(150) |
|
Default = '' |
|
| CITY |
nvarchar(50) |
|
Default = '' |
|
| POSTCODE |
nvarchar(12) |
|
Default = '' |
|
| ISPRIMARY |
bit |
|
Default = 0 |
|
| DONOTMAIL |
bit |
|
Default = 0 |
|
| UPDATEMATCHINGSPOUSEADDRESSES |
bit |
|
Default = 0 |
|
| SEQUENCE |
int |
|
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. |
| CART |
nvarchar(10) |
|
Default = '' |
|
| DPC |
nvarchar(8) |
|
Default = '' |
|
| LOT |
nvarchar(5) |
|
Default = '' |
|
| OMITFROMVALIDATION |
bit |
|
Default = 0 |
|
| LASTVALIDATIONATTEMPTDATE |
datetime |
yes |
|
|
| VALIDATIONMESSAGE |
nvarchar(200) |
|
Default = '' |
|
| CERTIFICATIONDATA |
int |
|
Default = 0 |
|
| STARTDATE |
UDT_MONTHDAY |
|
Default = '0000' |
For seasonal address types only; DD/MM start date of when this address should be considered for mailings. |
| ENDDATE |
UDT_MONTHDAY |
|
Default = '0000' |
For seasonal address types only; DD/MM end date of when this address should be considered for mailings. |
| UPDATEMATCHINGHOUSEHOLDADDRESSES |
bit |
|
Default = 0 |
|
| INFOSOURCECOMMENTS |
nvarchar(256) |
|
Default = '' |
|
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_BATCHCONSTITUENTADDRESSUPDATE_ADDRESSID |
ADDRESSID |
|
|
|
| IX_BATCHCONSTITUENTADDRESSUPDATE_BATCHID |
BATCHID |
|
|
|
| IX_BATCHCONSTITUENTADDRESSUPDATE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_BATCHCONSTITUENTADDRESSUPDATE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_BATCHCONSTITUENTADDRESSUPDATE |
ID |
yes |
yes |
|
Triggers
Referenced by