Re: COPY COMMAND

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: Savita <savita(at)india(dot)hp(dot)com>, shridhar_daithankar(at)persistent(dot)co(dot)in
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: COPY COMMAND
Date: 2002-11-26 10:52:37
Message-ID: 317643106.1038311557@liza
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Savita,

--On Dienstag, 26. November 2002 16:02 +0530 Savita <savita(at)india(dot)hp(dot)com>
wrote:

> Hi,
> I am able to insert the null field using \N in the text file,but while
> retiving the data I am not able to retrive it.
>
> After inserting data I tried this select statement
>
> select * from os_customer_master where updated_by=' ';
> and
> select * from os_customer_master where updated_by=null;
>
> but it gives 0 rows.then how will I select this values.

Nothing to do with copy :)
Just try:

select * from os_customer_master where isnull updated_by;

Regards
Tino

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2002-11-26 10:54:51 Re: Last queries
Previous Message Tino Wildenhain 2002-11-26 10:37:43 Re: ALTER TRIGGER DISABLE/ENABLE