Skip to content

Instantly share code, notes, and snippets.

@geobabbler
Created November 2, 2012 23:05
Embed
What would you like to do?
Simple SQL Server test
DECLARE @pt geometry;
SET @pt = geometry::Point(-82.655, 42.399, 4326)
SELECT COUNT(GID) FROM lake_st_clair WHERE geom.STContains(@pt) = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment