|
|
|
|
Browse by Tags
All Tags » Constraints » Transact SQL (RSS)
-
Suppose that you need to store teams of players, and you must enforce the following business rule: each team must consist of exactly two players. I will demonstrate how you can use constraints to implement this rule. I haven't used this approach in production yet, but I wanted to share an interesting idea. Of course we typically use triggers or ...
|
|
|
|
|