Article View: borland.public.interbase.sql
Article #690Re: Contact Age Query
From: Jason Summers
Date: Fri, 02 Nov 2007 23:48
Date: Fri, 02 Nov 2007 23:48
16 lines
1679 bytes
1679 bytes
Thanks for the information Bill. That's too bad :( I guess this query will have to remain unoptimized for now. - Jason "Bill Todd" <no@no.com> wrote in message news:472a977d$1@newsgroups.borland.com... > The optimizer can use the index if you are selecting on the value in > CBIRTHDAY, not on an expression that includes CBIRTHDAY. What you need > is a query of the form: > > SELECT CONTACTID FROM CONSTACTS > WHERE CBIRTHDAY < ... > > -- > Bill Todd (TeamB)
Technical Details
Message-ID:
<472bb775@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!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<472a8b02$1@newsgroups.borland.com> <472a977d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,32d2d968e29f0f52 X-Google-Attributes: gid114a0e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Jason Summers" <jason@grinc.org> From: "Jason Summers" <jason@grinc.org> Newsgroups: borland.public.interbase.sql References: <472a8b02$1@newsgroups.borland.com> <472a977d$1@newsgroups.borland.com> In-Reply-To: <472a977d$1@newsgroups.borland.com> Subject: Re: Contact Age Query Date: Fri, 2 Nov 2007 18:48:42 -0500 Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original 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: 64.251.145.50 Message-ID: <472bb775@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1194047349 64.251.145.50 (2 Nov 2007 16:49:09 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail