Re: Why do I get these results????? - Mailing list pgsql-sql

From Joost Kraaijeveld
Subject Re: Why do I get these results?????
Date
Msg-id 1141378070.4267.25.camel@localhost
Whole thread Raw
In response to Why do I get these results?????  (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>)
List 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.Kraaijeveld@Askesis.nl
web: www.askesis.nl



pgsql-sql by date:

Previous
From: Joost Kraaijeveld
Date:
Subject: Why do I get these results?????
Next
From: Ragnar
Date:
Subject: Re: Sequential scan where Index scan expected (update)