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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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