我在PLPGSQL以下查询:比较操作错误
FOR _t IN EXECUTE 'select distinct_network_point.id AS network_point_id
from distinct_network_point, all_points_ordered
where road_id='||road_id||' AND distinct_network_point.point = all_points_ordered.point AND all_points_ordered.point != st_setsrid(st_makepoint('||new_point||'),4326)
order by st_distance(all_points_ordered.point,st_setsrid(st_makepoint('||new_point||'),4326))
limit 1'
对于一些它给我以下错误:
如果我用这个<>运营商,它会给我这个比:
任何人都可以解释它的真正含义吗?该查询在sql中正常工作。
我已尝试了,不过谢谢你的建议 – 2013-03-07 22:46:28
我已经更新的问题,以显示错误,当我尝试<>运算符。 @bernie – 2013-03-07 22:48:45