🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #643

Re: CASE with test on null field

#643
From: Bill Todd
Date: Tue, 18 Sep 2007 19:12
8 lines
1107 bytes
When c.Descr is null you are concatenating it with a.desmov. Null
concatenated with anything is null. Add a WHEN c.Descr IS NULL clause
to the case statement and return a.desmov just as you do when c.Descr
is an empty string.


-- 
Bill Todd (TeamB)
Technical Details
Message-ID: <46f02308$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46f01a4a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,fe8d0aeed0af284e
X-Google-Attributes: gid114a0e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bill Todd" <no@no.com>
Subject: Re: CASE with test on null field
Newsgroups: borland.public.interbase.sql
References:  <46f01a4a@newsgroups.borland.com>
Organization: The Database Group, Inc.
User-Agent: XanaNews/1.18.1.6
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
NNTP-Posting-Host: 65.118.176.23
Message-ID: <46f02308$1@newsgroups.borland.com>
Date: 18 Sep 2007 12:12:08 -0700
X-Trace: newsgroups.borland.com 1190142728 65.118.176.23 (18 Sep 2007 12:12:08 -0700)
Lines: 8
X-Authenticated-User: btodd
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail