Subject | AW: [firebird-support] NULL in string |
---|---|
Author | Olaf Kluge |
Post date | 2011-05-26T05:31:26Z |
Thank you!
On 25 May 2011 20:59, Olaf Kluge <olaf.kluge@...
<mailto:olaf.kluge%40satron.de> > wrote:
'Text ' || COALESCE(:integervar,'''') || ' Text'
if integervar is null then use the value '' (empty string)
[Non-text portions of this message have been removed]
On 25 May 2011 20:59, Olaf Kluge <olaf.kluge@...
<mailto:olaf.kluge%40satron.de> > wrote:
> 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)
[Non-text portions of this message have been removed]