Re: [INTERFACES] How to store '

From: "Ken J(dot) Wright" <ken(at)ori-ind(dot)com>
To: Henk Jan Barendregt <henkjan(at)barendregt(dot)xs4all(dot)nl>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] How to store '
Date: 1999-05-07 20:21:07
Message-ID: 3.0.32.19990507132105.008d9a40@ren.cncware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

You have to preceed each occurence of ' with a \.
So "test'string" becomes "test\'string".

Cheers!

Ken

At 08:02 PM 5/7/99 +0000, you wrote:
>
>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
>

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Vince DiCiero 1999-05-07 20:40:25 RE: [INTERFACES] I am new to this
Previous Message Finn Kettner 1999-05-07 20:19:52 Re: [INTERFACES] ODBC boolean conversion and scandinavian charac