THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | |
in Search

Browse by Tags

All Tags » Transact SQL » constraints » Business rules   (RSS)
Sorry, but there are no more tags available to filter with.
  • Saving the whole team of players or nothing

    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 ...
    Posted to Alexander Kuznetsov (Weblog) by Alexander Kuznetsov on July 15, 2009
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement