ADDRESSCOORDINATES (4.0SP17)

Contains a list of longitude and latitude values for a given address.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDRESSID

uniqueidentifier

false

FK to ADDRESS table

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

PENDINGGEOCODE

bit

false

0

True if an address is being geocoded.

INVALIDGEOCODE

bit

false

0

Indicates that a valid geocode could not be found for this address.

MATCHCODE

nvarchar(50)

false

''

Indicates the certainty of the geocoding match.

MATCHEDMETHOD

nvarchar(50)

false

''

Indicates the level on which the geocode match takes place.

GEOCODEEXCEPTION

nvarchar(255)

false

''

Indicates the reason for which an address cannot be geocoded.

LONGITUDE

decimal(16, 13)

false

0

Longitude value of the address's coordinates.

LATITUDE

decimal(16, 13)

false

0

Latitude value of the address's coordinates.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

REGEOCODE

bit

false

0

Indexes
Index Name Field(s) Unique Primary Clustered

IX_ADDRESSCOORDINATES_DATEADDED

DATEADDED

False

False

True

IX_ADDRESSCOORDINATES_DATECHANGED

DATECHANGED

False

False

False

PK_ADDRESSCOORDINATES

ID

True

True

False

UIX_ADDRESSCOORDINATES_ADDRESSID

ADDRESSID

True

False

False

Triggers
Trigger Name Description

TR_ADDRESSCOORDINATES_AUDIT_UPDATE

TR_ADDRESSCOORDINATES_AUDIT_DELETE