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));
原文:https://www.cnblogs.com/Leechg/p/12796227.html
如果您也喜欢它,动动您的小指点个赞吧