EricMartello
Senior member
Did you even READ the ISO and W3 standards which AREN'T the wikipedia?
Our argument isn't over wether it will work or not. It is over saying NULL is 0. Context has NOTHING to do with it, they aren't the same. I've proved my point well enough.
Yes, links to irrelevant pages yet we're talking about MySQL here and for all intents and purposes, NULL is 0 since both = FALSE...and using 0 as the top level parent_id is not incorrect.
If you cannot provide an example where using 0 to indicate the top-level parent_id would somehow cause the application to function incorrectly (and you cannot because it will work just fine), you have nothing else to say.