Subject | Re: [firebird-support] Question select in Stored procs |
---|---|
Author | Christian Danner |
Post date | 2006-01-17T05:34:13Z |
4) UNION
select
cursus_code as code,
cursus_descr_nl as descr
from cursustype
where (pk_cursustype = :type)
and (:language = 'nl')
union
select
cursus_code as code,
cursus_descr_en as descr
from cursustype
where (pk_cursustype = :type)
and (:language = 'en')
Christian
select
cursus_code as code,
cursus_descr_nl as descr
from cursustype
where (pk_cursustype = :type)
and (:language = 'nl')
union
select
cursus_code as code,
cursus_descr_en as descr
from cursustype
where (pk_cursustype = :type)
and (:language = 'en')
Christian