comparison flys-artifacts/doc/conf/meta-data.xml @ 5467:6aa04b30f7ff

Do not use != in sql statement
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 27 Mar 2013 15:36:02 +0100
parents ba1bf40a9787
children fcecf635b5e3
comparison
equal deleted inserted replaced
5466:ba1bf40a9787 5467:6aa04b30f7ff
1555 b.kind_id AS building_kind_id, 1555 b.kind_id AS building_kind_id,
1556 bk.name AS building_kind 1556 bk.name AS building_kind
1557 FROM buildings b 1557 FROM buildings b
1558 JOIN building_kinds bk ON b.kind_id = bk.id 1558 JOIN building_kinds bk ON b.kind_id = bk.id
1559 WHERE b.river_id = ${river_id} 1559 WHERE b.river_id = ${river_id}
1560 AND b.kind_id != 0 1560 AND b.kind_id &lt;&gt; 0
1561 </dc:statement> 1561 </dc:statement>
1562 <dc:elements> 1562 <dc:elements>
1563 <buildings> 1563 <buildings>
1564 <dc:attribute name="description" value="${building_kind}"/> 1564 <dc:attribute name="description" value="${building_kind}"/>
1565 <dc:attribute name="factory" value="wmsbuildingsfactory"/> 1565 <dc:attribute name="factory" value="wmsbuildingsfactory"/>

http://dive4elements.wald.intevation.org