Constraints and Logic in Your Database
Most people aren't aware of the power of constraints in a database. They're there to enforce data rules, and you're probably familiar with a few of them, including: The null constraint, which won't allow null values. The unique constraint, which ensures a record is always unique. The primary key constraint, which I don't need to explain. Assuming you've used these before, let me ask you a question: is this business logic? I think it's fair to say that some logic is being used here in the form...