Re: Characters which requires escaping

From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: "pgsql-general (at) postgresql (dot) org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Characters which requires escaping
Date: 2004-07-10 17:16:33
Message-ID: 20040710181633.A3298@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 10/07/2004 14:44 Antony Paul wrote:
> Hi all,
> What are the characters which requires an escape sequence when used
> in
> the query. I am writing an application using JDBC.

If youn use PreparedStatements, the driver will do the escaping for you.

HTH

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bret Busby 2004-07-10 18:23:27 Re: Training and certification
Previous Message Bruce Momjian 2004-07-10 15:53:48 Re: [GENERAL] pg_dump and schema namespace notes