Prepare for your Next Interview
This is a discussion on Null V Nothing within the SQL forums, part of the Databases category; Can anyone clearly explain what the difference between null and nothing? On the 100 question quiz it states that null in sql represents nothing but I have also read that ...
|
|||
|
Null V Nothing
Can anyone clearly explain what the difference between null and nothing? On the 100 question quiz it states that null in sql represents nothing but I have also read that a null is an uninitialised variable and can be tested for using isnull(var) and nothing is nothing and can be tested for using isnothing(var). So what is the difference between null and nothing??
Thanks |
| Sponsored Links |
|
|||
|
Re: Null V Nothing
Quote:
http://thinkoracle.blogspot.com/2005...s-nothing.html |
|
|||
|
Re: Null V Nothing
Null in oracle is an absence of information. A null can be assigned but it can not be equated with anything: even itself.
A null is not equla to 0 a null is not equal to nothing a null is not an empty string null is an unknown value |
|
|||
|
Re: Null V Nothing
Quote:
Is there any difference between these words nothing no value absence of value If there is nothing in a column how will you find it out without using IS NULL ? |
|
|||
|
Re: Null V Nothing
NULL means "Not Known".
Not knowing something is very different from knowing that something is nothing (for which the empty string '' is provided)! here(in sql) nothing indicates blank (we dont enter either keyword "NULL" or any number) Thanks & Regards Trainee_tester |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| null statement in c | ShrutiS | C and C++ | 6 | 03-18-2008 09:41 AM |
| Set columns as not null | jency | SQL | 2 | 12-06-2007 01:12 AM |
| Not null constraint | Geek_Guest | SQL Server | 2 | 10-17-2007 07:05 AM |
| null pointer | vasundhara.jagdale | C and C++ | 1 | 07-23-2007 01:38 AM |
| Built-in and plugin stages, Chaning Null to Not Null and Types of lookup | Geek_Guest | Data Warehousing | 0 | 04-06-2007 04:48 AM |