I\'ve read conflicting philosophies on where data validation should happen and it\'s just confusing me more. Some say it should only be in the database. Others say that the
it should be done:
so in a database driven web forms app, for instance, you would have client-side javascript validation, probably some server side validation in the business logic, and then further constraints in the database, ranging from datatype to check constraints.