Article View: borland.public.interbase.sql
Article #498Re: Speed Difference
From: Wayne Niddery (TeamB)
Date: Sat, 03 Nov 2007 03:10
Date: Sat, 03 Nov 2007 03:10
13 lines
1500 bytes
1500 bytes
"Jason Summers" <jason@grinc.org> wrote in message news:472bd113$1@newsgroups.borland.com... > > As compared to this: > select CONTACTID from CONTACTS where HPHONEPREFIX = '573' > UNION > select CONTACTID from CONTACTS where MPHONEPREFIX = '573' You would probably want to use UNION ALL to avoid duplicates. -- Wayne Niddery - Winwright, Inc. (www.winwright.ca)
Technical Details
Message-ID:
<472be6a1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<472bd113$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,2a474cfcc7aa1454 X-Google-Attributes: gid114a0e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Wayne Niddery \(TeamB\)" <wniddery@chaffaci.on.ca> Newsgroups: borland.public.interbase.sql References: <472bd113$1@newsgroups.borland.com> In-Reply-To: <472bd113$1@newsgroups.borland.com> Subject: Re: Speed Difference Date: Fri, 2 Nov 2007 23:10:18 -0400 Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 NNTP-Posting-Host: 24.137.213.133 Message-ID: <472be6a1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1194059425 24.137.213.133 (2 Nov 2007 20:10:25 -0700) X-Authenticated-User: wniddery Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail