Scripting in management studio with T-SQL works very well, but I am having a question about ADO.NET.
I am able to code a simple select statement in ado.net.
How to use the set statement in ado.net ?
e.g.
SET @polygon = (SELECT GEOM FROM Polygons WHERE NAME = 'Area1');
SELECT NAME FROM Points WHERE @polygon.STDistance(GEOM) <= .4;