Search Postgresql Archives

Re: How does one perform a case-insenstive query on test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



af300wsm@xxxxxxxxx wrote:
Hello,

Well, the subject line pretty much says it all.  If any clarification
is needed, what I want to do is as follows:

SELECT * FROM table WHERE thisfield = 'some text';

How would I rewrite this query to search through the table looking at
the text in the column "thisfield" for the string "some text" but have
it perform a case insensitive search?
SELECT * FROM table WHERE thisfield ilike 'some text';

--
erik jones <erik@xxxxxxxxxx>
software development
emma(r)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux