SQL Triggers and when or when not to use them.

Posted by John Mitchell on Programmers See other posts from Programmers or by John Mitchell
Published on 2011-12-03T06:23:13Z Indexed on 2012/10/03 9:49 UTC
Read the original article Hit count: 285

Filed under:

When I was originally learning about SQL I was always told, only use triggers if you really need to and opt to use stored procedures instead if possible.

Now unfortunately at the time (a good few years ago) I wasn't as curious and caring about fundamentals as I am now so never did ask to the reason why.

What's the communities opinion in this? Is it just someone's personal preference, or should triggers be avoided (just like cursors) unless there is a good reason for them.

© Programmers or respective owner

Related posts about sql