News for hackers. Stuff that matters.
Re:SELECT wat FROM sql by john_minsk on Monday April 27, 2020 @06:45AM (#22994637)
For this you can make any field non nullable and offer a default value for the field.

Counter example: SAP HANA doesn't support NULLs, and as a result if I see 0 in any column in the database I have to wonder was it 0 that user submitted or 0 that system added as a placeholder. I would need to go back to documentation and see if the field is mandatory etc. Better have it explicitly stored in the data itself.

There are no comments on this comment yet.