agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: azwa@nc.com.my
To: pgsql-sql@postgresql.org
Subject: Re: Missing data for column
Date: Mon, 12 Jan 2004 09:07:41 +0800
Message-ID: <OF7123F548.A73B3489-ONFFFFFF47.0021D6F6@nc.com.my> (raw)

Hi, 

  Sorry for the late respond. i've solved my problem. the error comes out 
when the data has subsidiary column but 
there is no subsidiary column in table. tq 




Michael Glaesemann <grzm@myrealbox.com>
01/09/2004 06:54 PM ZE9

        To:     azwa@nc.com.my
        cc:     pgsql-sql@postgresql.org
        Subject:        Re: [SQL] Missing data for column



On Jan 9, 2004, at 4:15 PM, azwa@nc.com.my wrote:

> Hi,
>
> i got an error below after running copy command . the table structure 
> as
> following :
>
>           Table "biosadm.custinv_temp
>    Column    |     Type      |
> -------------+---------------+-
>  yr          | integer       |
>  custname    | text          |
>  invstatus   | text          |
>  custlo      | text          |
>  invno       | integer       |
>  invdate     | date          |
>  amount      | numeric(10,2) |
>  acc         | text          |
>  salesperson | text          |
>
> ERROR:  copy: line 1, Missing data for column "subsidiary"

Could you include the COPY command you're using, as well as the first 
couple of lines of the file you're copying from? It's hard to know what 
the problem is without this.

Regards,

Michael Glaesemann
grzm myrealbox com

view thread (7+ messages)  latest in thread

Message-ID: <OF7123F548.A73B3489-ONFFFFFF47.0021D6F6@nc.com.my>
Permalink:  ../OF7123F548.A73B3489-ONFFFFFF47.0021D6F6@nc.com.my/
Also on:    postgresql.org/message-id/OF7123F548.A73B3489-ONFFFFFF47.0021D6F6@nc.com.my

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: azwa@nc.com.my
  Subject: Re: Missing data for column
  In-Reply-To: <OF7123F548.A73B3489-ONFFFFFF47.0021D6F6@nc.com.my>

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

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