Skip to content

dbo.endataLocations ​

Info Generated by scripts/Generate-DataDictionary.ps1 - do not edit by hand. Edit descriptions in schemas/tables/dbo.endataLocations.json and regenerate.

Columns ​

#ColumnTypeNullableFlagsDescription
1IDintnoidentityPrimary key identifier for this location record.
2LocationNamevarchar(500)noName of the location as sourced from Endata.
3IsStalebitnoFlag (1/0) indicating whether this record was not seen in the most recent Endata sync and should be treated as outdated.
4LocationHashvarbinary(32)noHash of the location name used to detect duplicate or changed locations.
5CreatedAtdatetime2(7)yesTimestamp when this record was first created in this table.
6UpdatedAtdatetime2(7)yesTimestamp when this record was last updated by an Endata sync.
7ValidFromdatetime2(7)noStart of the period during which this row is the current version (system-versioning/history tracking).
8ValidTodatetime2(7)noEnd of the period during which this row is the current version (system-versioning/history tracking).

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
PK__endataLo__3214EC270A9B6275CLUSTEREDyesyesID
IX_endataLocations_LocationHashNONCLUSTEREDLocationHash

Referenced by ​

Procedures: dbo.spEndataSyncLocations, dbo.spEndataUpsertLocations