Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[NOVICE] How to insert apostrophied names into postgres

From: richard terry <rterry(at)gnumed.net>
Date: Mon Feb 18 2008 - 18:57:08 EST


eg Peter's

if one passes the name to an sql in code it ends up looking like:

insert into whatevertable (name) values('Peter's');

and bombs.

Any suggestions appreciated.

Richard

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq Received on Mon Feb 18 19:00:43 2008

This archive was generated by hypermail 2.1.8 : Thu Jun 19 2008 - 00:06:58 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library