Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id A172C9FBA67 for ; Fri, 16 Mar 2007 09:07:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 88635-04 for ; Fri, 16 Mar 2007 09:07:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sd-2317.dedibox.fr (sd-2317.dedibox.fr [88.191.17.192]) by postgresql.org (Postfix) with ESMTP id 4923A9FB66C for ; Fri, 16 Mar 2007 09:07:22 -0300 (ADT) Received: from sd-2317.dedibox.fr (localhost.localdomain [127.0.0.1]) by sd-2317.dedibox.fr (Postfix) with ESMTP id 71776A865; Fri, 16 Mar 2007 13:07:41 +0100 (CET) Received: from [10.168.168.40] (ASt-Lambert-153-1-47-156.w81-249.abo.wanadoo.fr [81.249.102.156]) by sd-2317.dedibox.fr (Postfix) with ESMTP id 198EDA24B; Fri, 16 Mar 2007 13:07:41 +0100 (CET) Message-ID: <45FA8873.2010604@lelarge.info> Date: Fri, 16 Mar 2007 13:07:15 +0100 From: Guillaume Lelarge Reply-To: guillaume@lelarge.info Organization: PROGIMED User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Thunderbird/0.7.3 Mnenhy/0.6.0.104 MIME-Version: 1.0 To: Shavonne Marietta Wijesinghe Cc: pgsql-sql@postgresql.org Subject: Re: INSERT INTO References: <002c01c767a8$20d5d600$1102a8c0@dream> <45FA6B62.A3DD.0030.0@indicator.be> <45FA608A.6060807@lelarge.info> <001201c767b6$40cc2d20$1102a8c0@dream> In-Reply-To: <001201c767b6$40cc2d20$1102a8c0@dream> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.211 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200703/223 X-Sequence-Number: 27861 Shavonne Marietta Wijesinghe a ecrit le 16/03/2007 11:31: > i took a look at the link Guillaume gave me. But it also explains on PHP > i'm using ASP :( > Yes, that's why I said that it didn't answer your question. Sorry if this wasn't clear. After a bit of googling, I found the replace function. Something like that : <%= replace(string,"'","''") %> might work. But remember I don't use ASP. Regards. -- Guillaume.