Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Right, I am a fan of SQL NULl as well. It is nicely consistent - anything NULL in - you get NULL out. Clearly telling that you get undefined data. Silently converting to empty string, zero, or therelike would eventually return garbage for harder to debug reasons.

That Oracle behavior annoys me each time, though.



Re: Silently converting to empty string, zero, or therelike would eventually return garbage for harder to debug reasons.

It's never been a problem with strings in my many decades of experience, unless somebody does something which I consider poor system engineering. Nearby I invited a solid use-case illustrating a real string need.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: