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: [EMAIL PROTECTED] web: www.askesis.nl ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend