Subject | Re: [firebird-support] NULL in string |
---|---|
Author | Nick Upson |
Post date | 2011-05-25T21:14:37Z |
On 25 May 2011 20:59, Olaf Kluge <olaf.kluge@...> wrote:
'Text ' || COALESCE(:integervar,'''') || ' Text'
if integervar is null then use the value '' (empty string)
> Hello,how about
>
>
>
> I like set a string-output: 'Text ' || :integervar || ' Text'
>
>
>
> If the integervar is null, the entire string is null. Now I can do the
> following:
>
>
>
> 'Text ' || COALESCE(:integervar,'NULL') || ' Text'
>
>
>
> Is there a function available like 'nz(.)' - if is null then returns 0 in
> firebird? (If nullstring, then emty string?)
'Text ' || COALESCE(:integervar,'''') || ' Text'
if integervar is null then use the value '' (empty string)