<edit title="Objekt" width="150">
<select>
select name_nummer as name from u_ele_trasseeabschnitt where globalid = [REF_FEAT_GID]
union all
select name_nummer as name from u_ele_strangabschnitt where globalid = [REF_FEAT_GID]
union all
select name || ', ' || u_tplnr from ele_tragwerk where globalid = [REF_FEAT_GID]
union all
select name || ', ' || u_tplnr from ele_schacht where globalid = [REF_FEAT_GID]
</select>
</edit>
but I didn't get any results. Turns out that one needs to use the CONCAT command instead:
<edit title="Objekt" width="150">
<select>
select name_nummer from u_ele_trasseeabschnitt where globalid = [REF_FEAT_GID]
union all
select name_nummer from u_ele_strangabschnitt where globalid = [REF_FEAT_GID]
union all
select concat(name, concat(', ', u_tplnr)) as name_nummer from ele_tragwerk where globalid = [REF_FEAT_GID]
union all
select concat(name, concat(', ', u_tplnr)) as name_nummer from ele_schacht where globalid = [REF_FEAT_GID]
</select>
</edit>
Geonis 2017.0
No comments:
Post a Comment