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

Your database should not allow invalid values to exist. That is what check contstraints, foreign keys, NOT NULL constraints, etc. are for.


If you're such a DBA, the rest of an enterprise will quickly route around you.


That's the attitude that causes these problems. Probably their date was set to 1/1/2000 because the database wouldn't allow them to not set a date.




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

Search: