add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE #test (wkt geometry);

INSERT INTO #test (wkt)
VALUES (geometry::STGeomFromText('LINESTRING (10 100, 15 200, 20 300)', 0))

SELECT * FROM #test;

SELECT *, wkt.STLength() AS Length FROM #test;


wkt
LINESTRING (10 100, 15 200, 20 300)
wkt Length
LINESTRING (10 100, 15 200, 20 300) 200.249843945008