Search Postgresql Archives

Case insensitive search

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

 



Is there a way to set up collation order to be case-insensitive?
I.E. I need to have a column c with value 'ABC' and when I do a "select * from table where c = 'abc'" it finds the row with value 'ABC'. Yes, I know that I can do it with "lower()" and "upper()" functions, but is there a way to construct a database to be case-insensitive? Tnx in advance.


Dragan




---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?

http://archives.postgresql.org

[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