Quantcast
Channel: CodeSection,代码区,SQL Server(mssql)数据库 技术分享 - CodeSec
Viewing all articles
Browse latest Browse all 3160

T-SQL Tuesday #106 Trigger Headaches or Happiness

$
0
0

T-SQL Tuesday #106   Trigger Headaches or Happiness
Since I took over the T-SQL Tuesday a few months ago, I decided I ought to host again. Especially since I’ve done it twice, but Wayne Sheffield got his third spot last month. Gotta keep up with Mr. Sheffield. Triggers, for fun and frustration

I’ve been working with SQL Server and T-SQL a long time, and across many jobs, I think I’ve ended up using triggers in 0.01% of my tables or less. They can be a useful and helpful construct, but they can also be problematic and difficult, especially in the age of changing business models and rules.

Since I’ve found triggers to be both helpful and hurtful, I decided to ask you to write about an experience you’ve had with triggers. Either good or bad, but let me know this month what stands out in your mind.

The Rules

As always, the rules for this month are simple.

Write and publish a post on September 11, 2018, UTC time. Include the T-SQL Tuesday logo (you can grab this above) and link your post back to this invitation. Leave a comment/pingback on this post for me to use to include you in the roundup Have fun.

Viewing all articles
Browse latest Browse all 3160

Trending Articles