| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NAME |
nvarchar(150) | Default = '' | Name to be used if there is no site. | |
DESCRIPTION |
nvarchar(250) | Default = '' | The description of the address validation process. | |
DATELASTRUN |
datetime | ![]() |
Stores the date of the last time one of the steps was run. | |
STEPCODE |
tinyint | Default = 0 | Tracks the most current state of the change of update process. | |
STEP |
nvarchar(25) (Computed) | ![]() |
CASE [STEPCODE] WHEN 0 THEN N'Last run on:' WHEN 1 THEN N'Created and processed on:' WHEN 2 THEN N'Committed on:' END | Provides a translation for the 'STEPCODE' field. |
VALIDATIONCOMPLETE |
bit | Default = 0 | Indicates whether or not the validation process has finished. | |
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 |
|---|---|---|---|---|
SITEID |
uniqueidentifier | ![]() |
SITE.ID | Foreign key for site table. |
DATATUNEUPID |
uniqueidentifier | DATATUNEUP.ID | Foreign key to the data tune-up table. | |
BATCHID |
uniqueidentifier | ![]() |
BATCH.ID | The batch instance into which the data will be imported. |
BATCHAPPUSERID |
uniqueidentifier | ![]() |
APPUSER.ID | Represents the user who will be the owner of the batch once it is created by the import process. |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_ADDRESSVALIDATION_DATEADDED |
DATEADDED | ![]() |
||
IX_ADDRESSVALIDATION_DATECHANGED |
DATECHANGED | |||
PK_ADDRESSVALIDATION |
ID | ![]() |
![]() |
|
UC_ADDRESSVALIDATION_SITEID |
SITEID | ![]() |
| Trigger Name | Description |
|---|---|
TR_ADDRESSVALIDATION_AUDIT_UPDATE |
|
TR_ADDRESSVALIDATION_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
ADDRESSVALIDATIONPROCESS |
ADDRESSVALIDATIONID |
BATCHADDRESSVALIDATION |
ADDRESSVALIDATIONID |

ID
NAME
STEP
SITEID
IX_ADDRESSVALIDATION_DATEADDED
IX_ADDRESSVALIDATION_DATECHANGED