Empty Output? How Do I Determine the Character?

From: Hunter Hillegas <lists(at)lastonepicked(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Empty Output? How Do I Determine the Character?
Date: 2003-08-08 22:47:42
Message-ID: BB59769E.C75A5%lists@lastonepicked.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I cannot determine what character is stored in a varchar...

For instance:
thedonnaholics=# select state from mailing_list where rec_num = 7;
state
-------

(1 row)

If I then execute:
thedonnaholics=# select count(*) from mailing_list where state = '';
count
-------
0
(1 row)

So, what is in that first row?

This also returns 0:
thedonnaholics=# select count(*) from mailing_list where state = ' ';
count
-------
0
(1 row)

Any ideas? I'd like to select all rows that contain whatever that first one
contains...

Hunter

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-08-08 23:03:24 Re: Empty Output? How Do I Determine the Character?
Previous Message Zengfa Gao 2003-08-08 21:37:04 ERROR: Invalid UNICODE character sequence found (0xed5c30)