Subject | Re: [firebird-support] select column if it exists |
---|---|
Author | Mark Rotteveel |
Post date | 2018-01-03T19:04:42Z |
On 2-1-2018 19:52, 'Walter R. Ojeda Valiente'
sistemas2000profesional@... [firebird-support] wrote:
values with an alternative value.
Mark
--
Mark Rotteveel
sistemas2000profesional@... [firebird-support] wrote:
>That still requires column C to exist. Coalesce is for replacing null
>
> What about:
>
> SELECT
> A,
> B,
> COALESCE(C, 'some value here')
> FROM
> MyTable
values with an alternative value.
Mark
--
Mark Rotteveel