query to match '\N' - Mailing list pgsql-general

From pc
Subject query to match '\N'
Date
Msg-id 1185561321.042928.238280@i13g2000prf.googlegroups.com
Whole thread Raw
Responses Re: query to match '\N'  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: query to match '\N'  (Bertram Scharpf <lists@bertram-scharpf.de>)
List pgsql-general
Hi,

I have a table test with columns  col1 col2.col2 contains an entry
'\N' .I want to select all entries which have '\N'  in col2.How do i
do that?

select * from test where col2 like '\N' ;
select * from test where col2 like '\\N' ;

both return 0 rows.Could some one please tell me the right query?


Thanks
Priya


pgsql-general by date:

Previous
From: Jean-Denis Girard
Date:
Subject: Data on NAS / NFS
Next
From: mwsenecal@yahoo.com
Date:
Subject: Require entry of MD5 hash instead of plaintext password?