Re: Can LIKE use indexes or not? - Mailing list pgsql-general

From John Sidney-Woollett
Subject Re: Can LIKE use indexes or not?
Date
Msg-id 4454.192.168.0.64.1075972818.squirrel@mercury.wardbrook.com
Whole thread Raw
In response to Re: Can LIKE use indexes or not?  ("John Sidney-Woollett" <johnsw@wardbrook.com>)
Responses Re: Can LIKE use indexes or not?  ("Uwe C. Schroeder" <uwe@oss4u.com>)
List pgsql-general
John Sidney-Woollett said:
> select * from t where new_upper_f like upper('MMM%');

I think I meant

select * from t where new_upper_f like 'MMM%';

or

select * from t where new_upper_f like upper('mmm%');

John



pgsql-general by date:

Previous
From: Jan Poslusny
Date:
Subject: Re: Can LIKE use indexes or not?
Next
From: Lincoln Yeoh
Date:
Subject: Re: Can LIKE use indexes or not?