Distance is returned in units of measure based on the input system.
For all geometries this is a grid and does not take the spatial
reference ID into account. Any stored values for Z are also ignored.Declare @geography geography = geography::STGeomFromText('Linestring(0 2, 1 1, 2 0)',4326);Declare @PointGeography geography= geography::STGeomFromText('Point(0.5 0.5)',4326);Declare @geometry geometry= geometry::STGeomFromText('Linestring(0 2, 1 1, 2 0)',4326);Declare @PointGeometry geometry=
↧