Here's a sample:
select column1 from table1 where lower(column1) = 'some_string'
will not give me any results although column1 (defined as char) has
'Some_string' or 'SOME_STRING'
if for instance I say something like:
select lower(column1) from table1 where column1 = 'SOME_STRING'
then it returns 'some_string' correctly. The same thing happens with
'upper' and similar functions. Why don't they work when they are in
pgsql-general by date
|Next:||From: Dennis Gearon||Date: 2003-04-30 22:59:39|
|Subject: Re: why don't string function work in WHERE clause?|
|Previous:||From: wsheldah||Date: 2003-04-30 22:04:03|
|Subject: box function implemented?|