Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 808262E005F for ; Thu, 27 Mar 2008 06:55:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 57982-02 for ; Thu, 27 Mar 2008 06:54:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from vsmtp12.tin.it (vsmtp12.tin.it [212.216.176.206]) by postgresql.org (Postfix) with ESMTP id 503862E0059 for ; Thu, 27 Mar 2008 06:54:41 -0300 (ADT) Received: from kerberos.webthatworks.it (79.0.131.251) by vsmtp12.tin.it (7.3.122) id 47BC9482024522BB; Thu, 27 Mar 2008 10:54:39 +0100 Received: from stige.webthatworks.it (odark.webthatworks.it [192.168.1.72]) by kerberos.webthatworks.it (Postfix) with ESMTP id F09D1E6A96; Thu, 27 Mar 2008 10:54:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by stige.webthatworks.it (Postfix) with ESMTP id 475B39B162; Thu, 27 Mar 2008 10:54:37 +0100 (CET) Date: Thu, 27 Mar 2008 10:54:36 +0100 From: Ivan Sergio Borgonovo To: pgsql-sql@postgresql.org Cc: "Shavonne Marietta Wijesinghe" Subject: Re: Export Access 97 to PostgreSQL Message-ID: <20080327105436.36e13506@webthatworks.it> In-Reply-To: <004a01c88fe9$7dc58df0$0602a8c0@DREAM> References: <002001c88f37$107363b0$3102a8c0@dream> <200803261621.55622.postgres@xmtservices.net> <004a01c88fe9$7dc58df0$0602a8c0@DREAM> Organization: www.WebThatWorks.it X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/194 X-Sequence-Number: 30522 On Thu, 27 Mar 2008 10:03:57 +0100 "Shavonne Marietta Wijesinghe" 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