Skip to content

Instantly share code, notes, and snippets.

@dshook
Created September 24, 2014 03:35
Show Gist options
  • Save dshook/fe2593623666c1759457 to your computer and use it in GitHub Desktop.
Save dshook/fe2593623666c1759457 to your computer and use it in GitHub Desktop.
zipcode geojson table
CREATE TABLE dbo.zipcode_geojson
(
zip NVARCHAR (5) NOT NULL
, geoJSON VARCHAR (max) NOT NULL
, latitude DECIMAL (18, 10) NOT NULL
, longitude DECIMAL (18, 10) NOT NULL
, point GEOGRAPHY NULL
, CONSTRAINT PK_zipcode_geojson PRIMARY KEY (zip)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment