, . SQL
declare @s geography, @t geography, @p geography;
select @s = geography::STPolyFromText('POLYGON((45.97215 4.693909, 45.687 4.674683, 45.73302 5.460205, 46.05227 5.366821, 45.97215 4.693909))', 4326);
select @t = geography::STPolyFromText('POLYGON((46.05227 5.366821, 45.73302 5.460205, 45.687 4.674683, 45.97215 4.693909, 46.05227 5.366821))', 4326);
select @p = geography::STPointFromText('POINT(45.7664 4.87383)', 4326);
select @p.STIntersects(@s), @p.STIntersects(@t);
select @p.STBuffer(10), @s, @t;
, @s . , , "", . @t, , . , SQL 2012, , 2012 , , . 2008 , , , @s. , @s, .
(/) " ". , , . , , - , , .