Changing the Geom value to text

declare @geom geometry
set @geom = Geometry::STGeomFromText('MULTIPOINT ((' + CAST(@lon AS varchar(20)) + ' ' + CAST(@lat AS varchar(20)) + '))',4326)

Comments

Popular posts from this blog

C# code to Check IE Proxy Settings

Convert XElement to DataTable