我在oracle 11g中运行以下查询:
1) select a1.apid from access_point a1 where sdo_relate(a1.shape,a1.shape,'mask=equal') = 'TRUE' and a1.apid = 'a5vhe';
2) select a1.apid from access_point a1 where sdo_relate(a1.shape,a1.shape,'mask=anyintersect') = 'TRUE' and a1.apid = 'a5vhe';
现在,oracle 11g文档将掩码'anyintersect‘定义为"ANYINTERACT:如果对象不是不相交的,则返回TRUE“。那么为什么oracle为我的查询1返回记录a1,而为QUERY2返回none呢?
发布于 2013-01-16 15:14:41
你打错了。
sdo_relate(a1.shape,a1.shape,'mask=anyintersect')
sdo_relate(a1.shape,a1.shape,'mask=anyinteract'):
https://stackoverflow.com/questions/13117719
复制相似问题