Import German Decimal Numbers

From: Jan Christian Dittmer <jcdittmer(at)web(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Import German Decimal Numbers
Date: 2008-05-07 12:25:13
Message-ID: 48219FA9.4010600@web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

I want to import some data from an ascii file using the COPY sql-command.
Unfortunatly the decimal numbers are given in german format, meaning the
decimal point is replaced by a comma (, instead of .). Is there any
possiblility
to switch the clients behaviourr (like 'set datestyle') for
interpretation of decimals?

Thanks!

best regards,
Christian Dittmer

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-05-07 12:30:11 Re: bytea and character encoding when inserting escaped literals
Previous Message Pau Marc Munoz Torres 2008-05-07 11:19:00 Problems with memory