| 100 | |
| 101 | --geometry contains empty |
| 102 | SELECT Geometry::STGeomFromText('POINT(1 2)',4326).STContains(Geometry::STGeomFromText('POLYGON EMPTY',4326)) |
| 103 | => 0 |
| 104 | |
| 105 | --geometry within empty |
| 106 | SELECT Geometry::STGeomFromText('POINT(1 2)',4326).STWithin(Geometry::STGeomFromText('POLYGON EMPTY',4326)) |
| 107 | => 0 |
| 108 | |
| 109 | --empty contains geometry |
| 110 | SELECT Geometry::STGeomFromText('POLYGON EMPTY',4326).STContains(Geometry::STGeomFromText('POINT(1 2)',4326)) |
| 111 | => 0 |
| 112 | |
| 113 | --empty within geometry |
| 114 | SELECT Geometry::STGeomFromText('POLYGON EMPTY',4326).STWithin(Geometry::STGeomFromText('POINT(1 2)',4326)) |
| 115 | => 0 |
| 116 | |
| 117 | |