Re: [INTERFACES] How to store '

From: "Gregory W Burnham" <gburnham(at)sfu(dot)ca>
To: "Henk Jan Barendregt" <henkjan(at)barendregt(dot)xs4all(dot)nl>, <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] How to store '
Date: 1999-05-07 20:16:46
Message-ID: 011201be98c6$8861a600$3d063a8e@educ.sfu.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

You can store the single quote if you escape it first:

This\'s a string that will work

Gregory W Burnham
Software Engineer /
Systems Administrator
Excite Labs
Simon Fraser University
Vancouver, BC
V5A 1S6
604 291 3615 ph
604 291 5679 fx
----- Original Message -----
From: Henk Jan Barendregt <henkjan(at)barendregt(dot)xs4all(dot)nl>
To: <pgsql-interfaces(at)postgreSQL(dot)org>
Sent: Friday, May 07, 1999 1:02 PM
Subject: [INTERFACES] How to store '

>
> Hello,
>
> Is there a way to store a string with the ' character in it ?
> I have to import a database with a lot of strings containing the '
> character.
> If it is not possible i should write a script to replace them with a `
> char.
>
> Thanks in advance,
>
> Henk Jan
>
>

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Finn Kettner 1999-05-07 20:19:52 Re: [INTERFACES] ODBC boolean conversion and scandinavian charac
Previous Message Finn Kettner 1999-05-07 20:12:10 ODBC boolean conversion and scandinavian characters