Re: Updating LOV values programmatically

From: Rauno Seppanen <rauno.seppanen_at_icon.fi>
Date: Fri, 22 Oct 1999 18:51:57 GMT
Message-ID: <hn2Q3.241$295.8134_at_read2.inet.fi>


Hi

Could you use something like following:

select a from table where x = y
and :bindvariable = 'a'
union
select b,c from table where x <> z
and :bindvariable = 'bc'

If you use this in LOV you have to include INTO clause also.

Rauno

>For extra clarification, I want to be able to have two very distinct
>queries, not just changing values in the query based on bind variables.
>
>so,
>
>select a from table where x = y
>
>and
>
>select b,c from table where x <> z
>
>
>not
>
>select a from table where x = :bindvariable
>
Received on Fri Oct 22 1999 - 20:51:57 CEST

Original text of this message