select (t.shape.STAsText()) as shape,t.id from geotest t order by 1 offset 0 rows fetch next 10 rows only
INSERT INTO geotest(shape) VALUES (geometry::STGeomFromText(‘LINESTRING (100 100, 20 180, 180 180)‘, 0));
2024-01-17 23:06:58
select (t.shape.STAsText()) as shape,t.id from geotest t order by 1 offset 0 rows fetch next 10 rows only
INSERT INTO geotest(shape) VALUES (geometry::STGeomFromText(‘LINESTRING (100 100, 20 180, 180 180)‘, 0));