Skip site navigation (1) Skip section navigation (2)

Re: Deep quotation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Casey Allen Shobe <cshobe(at)secureworks(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Deep quotation
Date: 2002-09-15 15:07:55
Message-ID: 28789.1032102475@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
Casey Allen Shobe <cshobe(at)secureworks(dot)net> writes:
> I can't seem to get the quoting around "Customers" right in the statement 
> below.  In db2, I can use \' to escape the quote, and it will insert into the
> database properly.

That works in PG too, or you can use the spec-approved method of
doubling the quote.  See
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/sql-syntax.html#SQL-SYNTAX-CONSTANTS

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Casey Allen ShobeDate: 2002-09-15 15:45:53
Subject: Re: Postgres storing time in strange manner
Previous:From: Rod TaylorDate: 2002-09-15 14:51:34
Subject: Re: Postgres storing time in strange manner

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group