Skip to content

Instantly share code, notes, and snippets.

Created November 2, 2012 23:05
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