Subject | Re: [ib-support] select statement with UNION |
---|---|
Author | Rolf & Sibylle Nussbaumer |
Post date | 2003-04-25T17:36:12Z |
Dear Svein, dear Thomas
thanks for your help. I'll use
select LocationId, LocationName from Locations
union
select -5, Cast('(new location)' as VarChar(64)) from Locations
order by 2;
which works fine. The second part of the union returns only one row even
when referencing table Locations.
Rolf Nussbaumer
thanks for your help. I'll use
select LocationId, LocationName from Locations
union
select -5, Cast('(new location)' as VarChar(64)) from Locations
order by 2;
which works fine. The second part of the union returns only one row even
when referencing table Locations.
Rolf Nussbaumer