Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9E71E475AA1 for ; Fri, 22 Nov 2002 08:02:03 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 42003475921 for ; Fri, 22 Nov 2002 08:02:03 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id 2461943A54E; Fri, 22 Nov 2002 08:02:03 -0500 (EST) From: dave_h4@yahoo.com (Hunter) X-Newsgroups: comp.databases.postgresql.sql Subject: escape single quote in INSERT command Date: 22 Nov 2002 05:00:01 -0800 Organization: http://groups.google.com/ Lines: 10 Message-ID: <27ad91d2.0211220500.19633b93@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-sql@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/378 X-Sequence-Number: 10520 Hi Group - I have a perl application for a registration form. I'd like to put escape characters in my insert command to accommodate for ' (i.e. O'Brien, O'Malley, etc). I've tired double quotes, single quotes, back tick, forward ticks, curly bracket, round brackets - no success. Thanks, dave