• Hugo Kornelis (10/1/2010)

    I develop a code generator that offers much more constraints that just the standard SQL Server constraints. Triggers are used to check modifications against these constraints. If violations are found, the trigger rolls back the transaction, logs the violation, and sends an error message to the client.

    Yes. You can have constraints in some other application tier too.

    But triggers are the last and safest barrier.



    See, understand, learn, try, use efficient
    © Dr.Plch