Re: escape single quote in INSERT command

From: "mark carew" <markcarew(at)bigpond(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: escape single quote in INSERT command
Date: 2002-11-22 21:50:35
Message-ID: arm91e$hoa$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi Hunter,

From my xbase++ program suite, sqlcontext class.
*
cValue := strtran(cValue,['],[\'])
*
Its called masquarading, simply replace the single quote with back_slash
+ single quote.

Regards
Mark Carew
Brisbane Australia

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message mark carew 2002-11-22 21:52:57 Re: escape single quote in INSERT command
Previous Message Nathan Young 2002-11-22 19:44:20 join question