This is a discussion on Value of NULL within the Oracle Database forums, part of the Database category; NULL is defined as unasigned undefined and unallocated value, it is neither a space nor can be considered as zero...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Null is not equal to zero.Even a value 0 is meaningful and can be used in computations. Null means an unknown value/something about which you dont have any idea/anything that is not applicable is treated as null. Say,in the EMP table if a certain employee is not entitled to earn commission,then for that row under that column we leave the value empty. Because no value is entered,there's no question of memory allocation. Its just like when you fill an application form ,you leave blank whichever fields are not applicable to you. They are called null values. You cannot compare a null value with another null value or another non-null value. Its not comparable with anything. Thats the reason why, we have to check for a null value using 'is null' condition;not using '=' operator. Hope,you find this answer agrreable to you.
Thanku |
| Sponsored Links |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) | Steve Summit | Tech FAQ | 0 | 06-15-2004 06:00 AM |
| comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) | Steve Summit | Tech FAQ | 0 | 06-01-2004 06:01 AM |
| comp.lang.c Answers to Frequently Asked Questions (FAQ List) | Steve Summit | Tech FAQ | 0 | 06-01-2004 06:00 AM |
| comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) | Steve Summit | Tech FAQ | 0 | 05-15-2004 06:00 AM |
| Apple II Csa2 FAQs: Telecom Hardware & Transfers, Part 20/25 | rubywand@swbell.net | Tech FAQ | 0 | 04-04-2004 07:29 AM |