Re: COPY COMMAND

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

Hi Tino,

These query does not work.

Tino Wildenhain wrote:

> 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

--
Best Regards
- Savita
----------------------------------------------------
Hewlett Packard (India)
+91 80 2051288 (Phone)
847 1288 (HP Telnet)
----------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2002-11-26 11:48:57 Re: COPY COMMAND
Previous Message Shridhar Daithankar 2002-11-26 11:28:47 Re: COPY COMMAND