Aditya Kotturu wrote: > > Hi, > > Is there any admin option I can set for a particular database in the > Postgres so that all queries directed towards that database are made case > insensitive? > > i.e the below 2 queries mean the same. > > select * from userdata wher name = 'John' > > select * from userdata wher name = 'joHN' Try this: select * from userdata where lower(name) = 'john' That's how I make things case insensitive.. -- Garry Dolley Webmaster/Technical Contact LinuxStart.Com
- [ADMIN] Case insensitive Aditya Kotturu
- Re: [ADMIN] Case insensitive Peter Eisentraut
- Re: [ADMIN] Case insensitive Armin Diehl
- [ADMIN] set digest i_a
- Re: [ADMIN] Case insensitive Peter Eisentraut
- RE: [ADMIN] Case insensitive Garry Dolley
- RE: [ADMIN] Case insensitive JT Kirkpatrick
- RE: [ADMIN] Case insensitive Armin Diehl