Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Character Equality
Hi there,
Just wondering if any one can explain to me why the following statement returns no rows.
select test from tmp4 where test != '';
The table contains...
SQL> select * from tmp4;
TEST
The table is described as...
SQL> desc tmp4;
Name Null? Type ----------------------------------------- ---------------------------- TEST VARCHAR2(10)
And the results of a similar query. (Looking for NOT a single space) SQL> select test from tmp4 where test != ' ';
TEST
I'm running Oracle 8.1.6 on RH Linux 6.1 and I'm stumped. Any ideas? Thanks for your time...
Dan
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Tue Sep 12 2000 - 11:55:44 CDT