Received: from ara.zf.jcu.cz (ara.zf.jcu.cz [160.217.161.4]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6RCHnf87208 for ; Fri, 27 Jul 2001 08:17:50 -0400 (EDT) (envelope-from zakkr@zf.jcu.cz) Received: (from zakkr@localhost) by ara.zf.jcu.cz (8.9.3/8.9.3/Debian 8.9.3-21) id OAA01307; Fri, 27 Jul 2001 14:17:44 +0200 Date: Fri, 27 Jul 2001 14:17:44 +0200 From: Karel Zak To: Nicola Cisternino Cc: pgsql-admin@postgresql.org Subject: Re: Full Case INSENSITIVE ... Message-ID: <20010727141744.I23719@ara.zf.jcu.cz> References: <011e01c1168f$be358f00$5b43a8c0@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <011e01c1168f$be358f00$5b43a8c0@tin.it>; from ncister@tin.it on Fri, Jul 27, 2001 at 01:31:56PM +0200 X-Archive-Number: 200107/153 X-Sequence-Number: 1912 On Fri, Jul 27, 2001 at 01:31:56PM +0200, Nicola Cisternino wrote: > Hi, > > ... We are a Microsoft SQL Server users by many years .... and now we > would like migrate our applications on PostgreSQL ... .but for us is > very important the case function in query operations .... > SQL Server databases can be case-sensitive or case-insensitive depending > on installation options. > If a database is case-sensitive, when you search for text data, you can > use any combination of uppercase and lowercase letters. For example, if > you are looking for a name such as "Smith," you can use the search > conditions "=smith" or "=SMITH." ... so as you can search any data with > all standard operators ( ">" "<" ... etc...) without lost any record ! .... > > It's possible with PostgreSQL ??? ( .... i already know the ILIKE clause .... but it's > insufficient !! ...) What is insufficient? You can use a lot of solutions for case insensitive oprations, like LIKE/ILIKE, upper(foo)=upper(bar), etc. See mailing list arhives, it's already discussed theme. > It will be a future implementation ??? very unsure... Karel -- Karel Zak http://home.zf.jcu.cz/~zakkr/ C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz