Community

SQL Server Stored Procedure to Calculate Area of a Polygon and Draw its Shape

(Eli Leiba) How can we create a simple and dynamic SQL Server T-SQL script that will accept a string in of the form of ‘X1 Y1, X2 Y2, X3Y3,………,Xn Yn’ which is a textual representation of a two dimensional polygon. The x,y points are the values of the polygon from first to last where the first value