X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CD84E53CFB for ; Tue, 12 Apr 2005 23:46:19 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 40343-02 for ; Wed, 13 Apr 2005 02:46:15 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 83AFF53CE7 for ; Tue, 12 Apr 2005 23:46:14 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id E4B8830952; Wed, 13 Apr 2005 04:45:36 +0200 (MET DST) From: jspring@gmail.com X-Newsgroups: pgsql.sql Subject: ignore single character in SELECT query? Date: 12 Apr 2005 19:46:03 -0700 Organization: http://groups.google.com Lines: 8 Message-ID: <1113360363.473080.314360@z14g2000cwz.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Complaints-To: groups-abuse@google.com User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=64.242.52.23; posting-account=trdseA0AAAAKc5EsUcDvGYiMHgX3KGFE To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.178 tagged_above=0 required=5 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200504/175 X-Sequence-Number: 21068 Given select criteria "dont" I would like to return rows with values "don't". Or similarily I want rows with "they're" given input criteria "theyre". So basically I want to ignore a single character (the apostrophe character), anywhere in the middle of my search word, in selecting results. How can I do this?