Appearance
dbo.primeContactLocation
Info Generated by
scripts/Generate-DataDictionary.ps1- do not edit by hand. Edit descriptions inschemas/tables/dbo.primeContactLocation.jsonand regenerate.
Columns
| # | Column | Type | Nullable | Flags | Description |
|---|---|---|---|---|---|
| 1 | ID | int | no | identity | Primary key / unique identifier for this record |
| 2 | primecontactID | uniqueidentifier | no | Foreign key reference to the related primecontact record | |
| 3 | Location | geography | yes | Geographic coordinates of the site address | |
| 4 | updatedAt | datetime2(7) | no | Timestamp the record was last updated | |
| 5 | reprocess | bit | no | Flag indicating this record should be reprocessed | |
| 6 | Hash | varbinary(32) | yes | Hash of the file content, used to detect duplicates/changes |
Indexes
| Name | Type | Unique | PK | Key columns | Included | Filter |
|---|---|---|---|---|---|---|
| PK_primeContactLocation | CLUSTERED | yes | yes | ID |
Relationships (inferred)
| From | To | Confidence |
|---|---|---|
| dbo.primeContactLocation.primecontactID | dbo.primeUsers.contactId | medium |
| dbo.primeContactLocation.primecontactID | dbo.primeContacts.id | high |
Referenced by
Procedures: dbo.spEthBookingEstimatorJobDistanceQueue, dbo.spEthBookingGetMissingEstimatorLocations, dbo.spEthGetBookingEstimatorLocations, dbo.spMakesafeSearchPhoneCallTrades, dbo.spMCPSearchTrades, dbo.spPrimeGetContactLocationQueue, dbo.spPrimeReprocessContactLocation, dbo.spPrimeUpsertContactLocation

