pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: clayton cottingham <drfrog@smartt.com>
To: Najm Hashmi <najm@mondo-live.com>
Cc: pgsql <pgsql-sql@postgresql.org>
Subject: Re: quotes in pl/pgsql
Date: Wed, 07 Mar 2001 15:32:27 -0800
Message-ID: <3AA6C50B.2BCA7E52@smartt.com> (raw)
References: <3AA80DAE.2DF3F902@mondo-live.com>

Najm Hashmi wrote:
> 
> Hi all, I just want to know how to put quotes around a string. Is there a
> function to do so?
> If not how can I escape  a single quote.
> Thank you in advance.
> 
>   ------------------------------------------------------------------------
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

single qutoe escaping :

'here''s johnny'



view thread (4+ messages)  latest in thread

Message-ID: <3AA6C50B.2BCA7E52@smartt.com>
Permalink:  ../3AA6C50B.2BCA7E52@smartt.com/
Also on:    postgresql.org/message-id/3AA6C50B.2BCA7E52@smartt.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: drfrog@smartt.com, najm@mondo-live.com
  Subject: Re: quotes in pl/pgsql
  In-Reply-To: <3AA6C50B.2BCA7E52@smartt.com>
  References: <3AA80DAE.2DF3F902@mondo-live.com> <3AA6C50B.2BCA7E52@smartt.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