Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Weird Query

Weird Query

From: Marian Aldenhövel <marian_at_mba-software.de>
Date: Mon, 01 Aug 2005 12:24:27 +0200
Message-ID: <dckt8t$30l$2@online.de>


Hi,

Behold the following SQL-Plus-Session, run against an Oracle 9i (Patch 2) Server:

> SQL> select pp_lock from cbr_385120060b39d42d8;
>
> PP_LOCK
> ----------------------------------------------------------------------------
> STEFANWIMMER\goit consulting\658.1_at_STEFANWIMMER
>
>
> SQL> select pp_lock from cbr_385120060b39d42d8 where pp_lock = '';
>
> Es wurden keine Zeilen ausgewählt
>
> SQL> select pp_lock from cbr_385120060b39d42d8 where pp_lock <> '';
>
> Es wurden keine Zeilen ausgewählt
>
> SQL> select pp_lock from cbr_385120060b39d42d8 where pp_lock is null;
>
> Es wurden keine Zeilen ausgewählt

So the table _does_ have exactly one record. Which is not returned in any of the queries that select specific values of PP_LOCK.

I am not an Oracle-Expert by far, but this still puzzles me. Any explanations?

Ciao, MM

-- 
Marian Aldenhövel, Rosenhain 23, 53123 Bonn. +49 228 624013.
http://www.marian-aldenhoevel.de
"It's easy to make a small fortune in aviation,
  provided you start with a big one"
Received on Mon Aug 01 2005 - 05:24:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US