Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.2/8.9.1) with ESMTP id LAA85790 for ; Wed, 17 Mar 1999 11:31:42 -0500 (EST) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id LAA10656; Wed, 17 Mar 1999 11:30:08 -0500 (EST) From: Bruce Momjian Message-Id: <199903171630.LAA10656@candle.pha.pa.us> Subject: Re: [SQL] How match percent sign in SELECT using LIKE? In-Reply-To: from Herouth Maoz at "Mar 17, 1999 11:58:46 am" To: herouth@oumail.openu.ac.il (Herouth Maoz) Date: Wed, 17 Mar 1999 11:30:08 -0500 (EST) Cc: zalman@netcom.com, pgsql-sql@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL47 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Thus, if someone has a script written to the SQL92 standard, he is allowed > to use a construct like > > ...WHERE pathname LIKE 'C:\WINDOWS\%' > > Without encountering oddities. Yes, but all our strings us '\' as escape. If we turn it off just for the LIKE string, people will be very confused. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026