🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: MS SQL isnull equivalent

#11331
From: Arno Brinkman
Date: Wed, 27 Nov 2002 19:29
27 lines
1316 bytes
Hi Mike,

> Hi all!
>
> What is subj in IB?
>
> Mike

There isn't a equivalent in Interbase.
But there are workarounds with UNIONS or UDFs.

SELECT
  <select_list>
FROM
  ATable
WHERE
  AField IS NULL
UNION
SELECT
  <select_list>
FROM
  ATable
WHERE
  AField IS NOT NULL

Regards,
Arno Brinkman
Technical Details
Message-ID: <3de51bfc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3de512a8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,60a1a383763d408d
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-11-27 11:39:47 PST
From: "Arno Brinkman" <bnewsgroups @ abvisie.nl>
Newsgroups: borland.public.interbase.sql
References: <3de512a8$1@newsgroups.borland.com>
Subject: Re: MS SQL isnull equivalent
Date: Wed, 27 Nov 2002 20:29:30 +0100
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 213.116.124.42
Message-ID: <3de51bfc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1038425084 213.116.124.42 (27 Nov 2002 11:24:44 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail