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

Home -> Community -> Usenet -> c.d.o.server -> Queries with NULL (Oracle Parameters?)

Queries with NULL (Oracle Parameters?)

From: teoman <teoman.ayan_at_contakt.net>
Date: 23 Jul 2002 23:29:01 -0700
Message-ID: <a8fa219e.0207232229.62aa8acc@posting.google.com>


I have an query p.e.

  1. select customer,salary from employees where street is null

My result is not correct. If I use

2. select customer,salary from employees where nvl(street,'anything')='anything'

then the result of the query is correct. Exist in Oracle a

parameter to use the 'is null' operator like the 2nd query?

Thanks in advance. Received on Wed Jul 24 2002 - 01:29:01 CDT

Original text of this message

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