COUNTRYVALIDATIONINFO
Contains validation information per country.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
ALLOWVALIDATION |
bit |
|
Default = 0 |
Signifies whether or not addresses in this country may be validated. |
VALIDATIONCOUNTRYCODE |
tinyint |
|
Default = 0 |
Maps the country records to a constant enumeration which represents the countries supported by address validation. |
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. |
VALIDATIONCOUNTRY |
nvarchar(14) (Computed) |
yes |
CASE [VALIDATIONCOUNTRYCODE] WHEN 0 THEN N'' WHEN 1 THEN N'Australia' WHEN 2 THEN N'Canada' WHEN 3 THEN N'United Kingdom' WHEN 4 THEN N'United States' WHEN 5 THEN N'New Zealand' END |
Provides a translation for the 'VALIDATIONCOUNTRYCODE' field. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
ID |
uniqueidentifier |
|
COUNTRY.LOCALID
|
Primary Key. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_COUNTRYVALIDATIONINFO_DATEADDED |
DATEADDED |
|
|
yes |
IX_COUNTRYVALIDATIONINFO_DATECHANGED |
DATECHANGED |
|
|
|
PK_COUNTRYVALIDATIONINFO |
ID |
yes |
yes |
|
Triggers