Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: "= null" & "is null"
If I use nvl(column_a,'XYZ') = 'XYZ' in the where clause to find only null value, then I will also select rows where column_a = 'XYZ' although the chance of having value = 'XYZ' is little.
Samuel Leung <m2624526_at_netvigator.com> wrote:
> Remember the concept that Null is never 'EQUAL' to everything, even itself.
> So, = NULL means nothing
> If you compare two values, say a = b, and the two values are nullable, use
> Nvl() function
> Norris wrote in message <7q3936$37f$2_at_imsp009a.netvigator.com>...
>>What is the difference between = null and is null? >> >>-- >>-- >>http://www.washington.edu/pine/faq/
--
Have several nice days...
http://www.ntfaq.com http://www.jsiinc.com/reghack.htm http://www.oconnell.net/Sybase_FAQ http://www.cyberport.com/~tangent/programming/winsock/ ===================================================================Received on Thu Aug 26 1999 - 23:22:24 CDT
![]() |
![]() |