pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mark carew <markcarew@bigpond.com>
To: pgsql-sql@postgresql.org
Subject: Re: escape single quote in INSERT command
Date: Sat, 23 Nov 2002 07:50:35 +1000
Message-ID: <arm91e$hoa$1@news.hub.org> (raw)
References: <27ad91d2.0211220500.19633b93@posting.google.com>

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







view thread (8+ messages)  latest in thread

Message-ID: <arm91e$hoa$1@news.hub.org>
Permalink:  ../arm91e$hoa$1@news.hub.org/
Also on:    postgresql.org/message-id/arm91e$hoa$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: markcarew@bigpond.com
  Subject: Re: escape single quote in INSERT command
  In-Reply-To: <arm91e$hoa$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox