我在 t-sql 语句中有以下 where 子句:
where a.CELL_GEOM.STIntersects(
STGeomFromText('POLYGON((-25.43623984375 44.257784519021, 21.62918984375 44.257784519021, 21.62918984375 60.752403080295, -25.43623984375 60.752403080295, -25.43623984375 44.257784519021))', 4326)) = 'true'
该行报告错误:
'STGeomFromText' is not a recognized built-in function name.
如何使用此函数中显示的众所周知的文本值?我只是在 STGeomFromText 中使用了不正确的语法,因为这是我见过的唯一示例。