Hacker News new | past | comments | ask | show | jobs | submit login

How do you use it? I'm often in a situation where I'm not sure whether it's best to allow NULL, "", or both. If a string column is nullable, should you always disallow ""?

Numbers don't have this problem so much, it's really just strings and other types that can be "empty" without being null. Arrays, I guess, though they're not nearly as common.




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

Search: