pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivan Sergio Borgonovo <mail@webthatworks.it>
To: pgsql-sql@postgresql.org
Cc: Shavonne Marietta Wijesinghe <shavonne.marietta@studioform.it>
Subject: Re: Export Access 97 to PostgreSQL
Date: Thu, 27 Mar 2008 10:54:36 +0100
Message-ID: <20080327105436.36e13506@webthatworks.it> (raw)
In-Reply-To: <004a01c88fe9$7dc58df0$0602a8c0@DREAM>
References: <F73B183585950041A3B8A59178A1FEE45D4656@WDF-MX05.de.realTech.net>
	<F73B183585950041A3B8A59178A1FEE47FF68D@WDF-MX05.de.realTech.net>
	<002001c88f37$107363b0$3102a8c0@dream>
	<200803261621.55622.postgres@xmtservices.net>
	<004a01c88fe9$7dc58df0$0602a8c0@DREAM>

On Thu, 27 Mar 2008 10:03:57 +0100
"Shavonne Marietta Wijesinghe" <shavonne.marietta@studioform.it>
wrote:

> Thanks. I tried the following command
> 
> COPY REGIONI FROM 
> 'C:/Inetpub/wwwroot2/FORMWebSite1/database/FormAjax/REGIONI.copy'
> WITH DELIMITER '\t';
> 
> But i get this error
> 
> ERROR:  relation "regioni" does not exist

You've to create the REGIONI table.
You may (or may not) get into trouble with locale. I noticed you're
using , as a decimal separator.
So if you're still encountering problems... that could be the second
thing to look at.

> Here is a sample of my file (fields seperated with a tab)

> 13600770000,00 848351,00 2,00 2,00 4,00 "Trentino-alto adige"
> 18424000000,00 1132202,00 3,00 3,00 5,00 "Veneto"
> 7859928000,00 746082,90 4,00 4,00 6,00 "Friuli-venezia giulia"

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it




view thread (9+ messages)  latest in thread

Message-ID: <20080327105436.36e13506@webthatworks.it>
Permalink:  ../20080327105436.36e13506@webthatworks.it/
Also on:    postgresql.org/message-id/20080327105436.36e13506@webthatworks.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mail@webthatworks.it, shavonne.marietta@studioform.it
  Subject: Re: Export Access 97 to PostgreSQL
  In-Reply-To: <20080327105436.36e13506@webthatworks.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox