PB with Null string

From: darold <darold(at)neptune(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: PB with Null string
Date: 1998-12-23 09:26:33
Message-ID: 3680B749.3B30CF42@neptune.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Hi,

I have tried this query to check if a field is empty:

SELECT * FROM t_table WHERE s_string='';

where s_string is declared as text. But this doesn't work, why? Is
there's an
other way to do that ? I have also tried with NULL but I think it is not
included
in the 6.3.2...

Thank,

Gilles

Responses

Browse pgsql-general by date

  From Date Subject
Next Message darold 1998-12-23 09:33:24 Backup of large object
Previous Message Anand Surelia 1998-12-23 03:04:27 How to unlock a table

Browse pgsql-sql by date

  From Date Subject
Next Message Postgres DBA 1998-12-23 09:37:21 Re: [GENERAL] PB with Null string
Previous Message Joey Merrell 1998-12-22 18:34:24 Appilcations