Click here to Skip to main content
15,925,133 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Strange NULL... Pin
Nick Parker8-May-02 3:24
protectorNick Parker8-May-02 3:24 
GeneralRe: Strange NULL... Pin
Daniel Turini7-May-02 23:13
Daniel Turini7-May-02 23:13 
GeneralRe: Strange NULL... Pin
Philip Patrick7-May-02 23:27
professionalPhilip Patrick7-May-02 23:27 
GeneralRe: Strange NULL... Pin
James T. Johnson7-May-02 23:38
James T. Johnson7-May-02 23:38 
GeneralRe: Strange NULL... Pin
8-May-02 1:06
suss8-May-02 1:06 
GeneralRe: Strange NULL... Pin
Philip Patrick8-May-02 1:13
professionalPhilip Patrick8-May-02 1:13 
GeneralRe: Strange NULL... Pin
Philip Patrick8-May-02 1:07
professionalPhilip Patrick8-May-02 1:07 
GeneralRe: Strange NULL... Pin
James T. Johnson8-May-02 1:29
James T. Johnson8-May-02 1:29 
Philip Patrick wrote:
Why not?

That is the definition of NULL when dealing with databases, no value. To give a value to NULL is a hack.

Philip Patrick wrote:
If no one knows what is NULL, so why it is not 0?

We know what NULL is, NULL is the state of not having a value Smile | :)

Philip Patrick wrote:
Again, it doesn't matter what it is, 0 or -1 or 980987

Sure it does, if Age is a nullable column in a database an age of 0 has a different meaning than no value. That is its entire purpose.

Philip Patrick wrote:
You have to agree that Null (whatever it be) is not 12

In the original post you were using equals to compare two values, any value compared to Null is Null, not true or false; but thanks to VB's implicit casting [Mad | :mad: ] you get a false out of it.

Something I neglected to mention in my previous post was the Database NULL and C++ NULL stand for two different things. Database NULL means no value, C++ NULL means a pointer to memory location 0, obviously a value.

James

Simplicity Rules!
GeneralRe: Strange NULL... Pin
Philip Patrick8-May-02 1:53
professionalPhilip Patrick8-May-02 1:53 
GeneralQuery Excel Sheets Count Pin
serberwww6-May-02 22:08
serberwww6-May-02 22:08 
GeneralASP Forum Code Pin
sriani6-May-02 9:00
sriani6-May-02 9:00 
GeneralSome 100 % beginner ASP.NET tutorials PLEASE! Pin
Rickard Andersson206-May-02 0:28
Rickard Andersson206-May-02 0:28 
Generalcode-behind in ASP.NET Pin
Mazdak5-May-02 5:00
Mazdak5-May-02 5:00 
GeneralRe: code-behind in ASP.NET Pin
Not Active5-May-02 5:12
mentorNot Active5-May-02 5:12 
GeneralRe: code-behind in ASP.NET Pin
Mazdak5-May-02 6:55
Mazdak5-May-02 6:55 
GeneralDeploying ASP.NET project Pin
Not Active5-May-02 3:32
mentorNot Active5-May-02 3:32 
GeneralRe: Deploying ASP.NET project Pin
Not Active6-May-02 2:10
mentorNot Active6-May-02 2:10 
QuestionI just want to greet the world... Where do I start? Pin
DeadWisdom3-May-02 18:48
DeadWisdom3-May-02 18:48 
AnswerRe: I just want to greet the world... Where do I start? Pin
James T. Johnson3-May-02 19:03
James T. Johnson3-May-02 19:03 
GeneralRe: I just want to greet the world... Where do I start? Pin
DeadWisdom3-May-02 20:55
DeadWisdom3-May-02 20:55 
GeneralRe: I just want to greet the world... Where do I start? Pin
James T. Johnson3-May-02 20:59
James T. Johnson3-May-02 20:59 
GeneralRe: I just want to greet the world... Where do I start? Pin
Not Active5-May-02 5:17
mentorNot Active5-May-02 5:17 
AnswerRe: I just want to greet the world... Where do I start? Pin
David Wengier5-May-02 13:43
David Wengier5-May-02 13:43 
Generalcreate web page on cd Pin
tbbooher3-May-02 12:18
tbbooher3-May-02 12:18 
GeneralRe: create web page on cd Pin
Nish Nishant3-May-02 21:24
sitebuilderNish Nishant3-May-02 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.