Subject | Re: [firebird-support] Best Practice re null |
---|---|
Author | Stefan Heymann |
Post date | 2011-11-08T13:21:52Z |
> In certain queries I wish nulls to be treated as empty strings. For example:Try this:
> Select Field1 || ' ' || Field2 AS MyOutputValue;
select coalesce (Field1, '') || ' ' || coalesce (Field2, '') AS MyOutputValue;
HTH
Regards
Stefan