Subject Re: [firebird-support] Concatenated field return null when only one field is null
Author Paul Vinkenoog
Hi Jason,

>>> Select Coalesce(PA_COLOR_GROUP_CODE, '') || ' ' ||
>>> Coalesce(PA_COLOR_CUST_REF, '')...

>> Coalesce is not available in 1.0 though. But if Almond uses the
>> Windows version, he can use the *NVL functions from the fbudf lib.

> OR!
>
> Select (Case When PA_COLOR_GROUP_CODE Is Null Then '' Else
> PA_COLOR_GROUP_CODE End) || ' ' || (Case When PA_COLOR_CUST_REF Is
> Null Then '' Else PA_COLOR_CUST_REF End) ...

Yes, if you like a lot of typing :-)

But please note that CASE, too, is not available in 1.0


Greetings,
Paul Vinkenoog