Are nulls in a relational database okay? [closed]

Nulls are negatively viewed from the perspective of database normalization. The idea being that if a value can be nothing, then you really should split that out into another sparse table such that you don’t require rows for items which have no value.

It’s an effort to make sure all data is valid and valued.

In some cases having a null field is useful, though, especially when you want to avoid yet another join for performance reasons (although this shouldn’t be an issue if the database engine is setup properly, except in extraordinary high performance scenarios.)

-Adam

Leave a Comment