| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ADDRESSBLOCK |
nvarchar(150) | Default = '' | Submitted address. | |
CITY |
nvarchar(50) | Default = '' | Submitted city. | |
POSTCODE |
nvarchar(12) | Default = '' | Submitted post code. | |
NEWADDRESSBLOCK |
nvarchar(150) | Default = '' | Validated address. | |
NEWCITY |
nvarchar(50) | Default = '' | Validated city. | |
NEWPOSTCODE |
nvarchar(12) | Default = '' | Validated post code. | |
NEWDPC |
nvarchar(8) | Default = '' | Validated delivery point code. | |
NEWCART |
nvarchar(10) | Default = '' | Validated address carrier route. | |
NEWLOT |
nvarchar(5) | Default = '' | Validated address LOT. | |
ADDRESSCHANGED |
bit | Default = 0 | Indicates if the address was changed during the validation process. | |
VALIDATIONMESSAGE |
nvarchar(200) | Default = '' | Indicates what changes were made during the validation or the reason that the address was not validated. | |
CERTIFICATIONDATA |
int | Default = 0 | Contains the certification data which shows with which release of the Postal Datafiles this address was last validated. | |
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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
BATCHID |
uniqueidentifier | BATCH.ID | Foreign key to the batch table. | |
ADDRESSVALIDATIONID |
uniqueidentifier | ADDRESSVALIDATION.ID | Foreign key to the address validation table. | |
CONSTITUENTID |
uniqueidentifier | CONSTITUENT.LOCALID | Foreign key to the constituent table. | |
COUNTRYID |
uniqueidentifier | COUNTRY.LOCALID | Foreign key to the country table | |
ADDRESSID |
uniqueidentifier | ADDRESS.LOCALID | Foreign key to the address table. | |
STATEID |
uniqueidentifier | ![]() |
STATE.LOCALID | Submitted state. |
NEWSTATEID |
uniqueidentifier | ![]() |
STATE.LOCALID | Validated state. |
NEWCOUNTYID |
uniqueidentifier | ![]() |
COUNTYCODE.LOCALID | Validated county ID. |
NEWCONGRESSIONALDISTRICTID |
uniqueidentifier | ![]() |
CONGRESSIONALDISTRICTCODE.ID | Validated congressional district id. |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_BATCHADDRESSVALIDATION_ADDRESSID |
ADDRESSID | |||
IX_BATCHADDRESSVALIDATION_CONSTITUENTID |
CONSTITUENTID | |||
IX_BATCHADDRESSVALIDATION_DATEADDED |
DATEADDED | ![]() |
||
IX_BATCHADDRESSVALIDATION_DATECHANGED |
DATECHANGED | |||
PK_BATCHADDRESSVALIDATION |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_BATCHADDRESSVALIDATION_AUDIT_UPDATE |
|
TR_BATCHADDRESSVALIDATION_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
BATCHADDRESSVALIDATIONBATCHSYSTEMMESSAGES |
BATCHADDRESSVALIDATIONID |
BATCHADDRESSVALIDATIONBATCHUSERMESSAGE |
ID |

ID
ADDRESSBLOCK
TSLONG
BATCHID
IX_BATCHADDRESSVALIDATION_ADDRESSID
IX_BATCHADDRESSVALIDATION_DATEADDED