Code: Select all
select geometry::STGeomFromText('POINT(0 0)', 0).STBuffer(1)
union all select geometry::STGeomFromText('POINT(0.4 0.5)', 0).STBuffer(0.2)
union all select geometry::STGeomFromText('POINT(-0.4 0.5)', 0).STBuffer(0.2)
union all select convert(geometry,'MULTIPOLYGON(((-0.7 0.714, -0.3 0.9539, -0.7 1.3, -0.7 0.714)), ((0.7 0.714, 0.3 0.9539, 0.7 1.3, 0.7 0.714)))')
union all select convert(geometry,
'MULTIPOLYGON(((-0.6 0.2, -1.4 0.5, -1.4 0.4, -0.6 0.2)), ((-0.6 -0.2, -1.4 -0.5, -1.4 -0.4, -0.6 -0.2)), ((-0.6 0, -1.4 0.05, -1.4 -0.05, -0.6 0)),
((0.6 0.2, 1.4 0.5, 1.4 0.4, 0.6 0.2)), ((0.6 -0.2, 1.4 -0.5, 1.4 -0.4, 0.6 -0.2)), ((0.6 0, 1.4 0.05, 1.4 -0.05, 0.6 0))
)')
union all select convert(geometry,'POLYGON((-0.3 -0.5, 0.3 -0.5, 0.3 -0.55, -0.3 -0.55, -0.3 -0.5))')