Re: Why do I get these results?????

From: Joost Kraaijeveld <J(dot)Kraaijeveld(at)Askesis(dot)nl>
To: Van Elsacker Frans <fve(at)atbib(dot)be>
Cc: Pgsql-Sql <Pgsql-sql(at)postgresql(dot)org>
Subject: Re: Why do I get these results?????
Date: 2006-03-03 09:27:50
Message-ID: 1141378070.4267.25.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi Frans

On Fri, 2006-03-03 at 10:06 +0100, Van Elsacker Frans wrote:
> Joost
>
> Why do you use
>
> AND TRIM(UPPER(addresses.city)) >= TRIM(UPPER('NIJMEGEN'))
> and not
> AND TRIM(UPPER(addresses.city)) = TRIM(UPPER('NIJMEGEN'))
>
> upper(Rotterdam) en upper(Someren) meets >= TRIM(UPPER('NIJMEGEN'))
Because that is what I want: I want everyone that is called "xxxx" and
lives in a city that is equal or larger than "yyyy". Jansen and Nijmegen
are just examples.

> commentline with order statements can not influence the content of the
> result
What do you mean by that?

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J(dot)Kraaijeveld(at)Askesis(dot)nl
web: www.askesis.nl

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Ragnar 2006-03-03 09:31:37 Re: Sequential scan where Index scan expected (update)
Previous Message Joost Kraaijeveld 2006-03-03 08:50:40 Why do I get these results?????