pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian Baquiran <brianb@evoserve.com>
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] string containing (')
Date: Sun, 21 Mar 1999 00:06:05 +0800
Message-ID: <36F3C76D.42F9EAFD@evoserve.com> (raw)
References: <199903201248.HAA19314@candle.pha.pa.us>

Bruce Momjian wrote:
> 
> > HI!
> > Can anyone help,
> > I want to store a string into a relation that might contain an apostrophe
> > (').  Is there anyway around this or can I not store such strings.
> > Thanks for your help
> 
> '\''

I've always thought the proper way was to use 2 quotes ('').

Brian



view thread (5+ messages)  latest in thread

Message-ID: <36F3C76D.42F9EAFD@evoserve.com>
Permalink:  ../36F3C76D.42F9EAFD@evoserve.com/
Also on:    postgresql.org/message-id/36F3C76D.42F9EAFD@evoserve.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: brianb@evoserve.com
  Subject: Re: [SQL] string containing (')
  In-Reply-To: <36F3C76D.42F9EAFD@evoserve.com>
  References: <199903201248.HAA19314@candle.pha.pa.us> <36F3C76D.42F9EAFD@evoserve.com>

* 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