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.
Pingback: T-SQL Tuesday #106 – Trigger Headaches or Happiness – T-SQL Tuesday
Pingback: Why I Love DML Triggers in SQL Server - by Kendra Little
My post is here: https://littlekendra.com/2018/09/11/why-i-love-dml-triggers-in-sql-server/
Thanks for the topic!
LikeLike
Thanks for hosting, Steve. http://blogs.lobsterpot.com.au/2018/09/11/triggers-good-or-bad/
LikeLike
Pingback: Triggers – good or bad? - LobsterPot Blogs
Pingback: T-SQL Tuesday #106 Trigger headaches or happiness? - Jon Shaulis DBA
Fun topic to think about this month, thank you Steve!
https://jonshaulis.com/index.php/2018/09/11/t-sql-tuesday-106-trigger-headaches-or-happiness/
LikeLike
Pingback: Faking Temporal Tables with Triggers – SQL with Bert
Thanks for hosting Steve, here is my post: https://bertwagner.com/2018/09/11/faking-temporal-tables-with-triggers/
LikeLike
Thanks for hosting, Steve. My post is here: https://itsalljustelectrons.blogspot.com/2018/09/TSQL-Tuesday-106-Triggers.html
LikeLike
Pingback: TSQL Tuesday 106 – Trigger Headaches or Happiness: Capturing Database Creations. – No Column Name
Thanks Steve!
https://sqlperformance.com/2018/09/sql-performance/t-sql-tuesday-106-instead-of-triggers
LikeLike
Pingback: A Tale of a Trigger | Bob Pusateri - SQL Server and Kindred Subjects
Great Topic, Steve! Here’s mine: https://www.bobpusateri.com/archive/2018/09/a-tale-of-a-trigger/
LikeLike
Pingback: TSQL Tuesday #106: Triggers and the Spiral To Oblivion – SQL Undercover
loving reading these
https://sqlundercover.com/2018/09/11/tsql-tuesday-106-triggers-and-the-spiral-to-oblivion/
LikeLike
Pingback: What happens in a trigger stays in the transaction: T-SQL Tuesday #106 | SQL Studies
Thanks for hosting this round Steve.
My contribution: https://claudioessilva.eu/2018/09/11/triggers-the-hidden-logic-that-will-strike-back-tsql-tuesday-106/
LikeLike
Pingback: The Helpful Triggers | Voice of the DBA
Thanks, Steve! Here’s my contribution: http://dataperfpro.com/t-sql-tuesday-106-trigger-happy/
LikeLike
Great topic Steve! https://jameslivingston.io/2018/09/11/logon-trigger-woes/
LikeLike
Fun topic that’s near and dear to all of us. I decided to write about “disabling” triggers.
https://schottsql.wordpress.com/2018/09/11/disabling-triggers-without-alters/
LikeLike
Pingback: T-SQL Tuesday #106 | downshiftdata
Thanks for this topic!
Here is my contribution: http://blog.sqlterritory.com/2018/09/11/t-sql-tuesday-106-triggers-headaches-or-happiness/
LikeLike
Pingback: T-SQL Tuesday #106: How to use triggers and not be sad - SQL Server Fast
Done!
https://sqlserverfast.com/blog/hugo/2018/09/t-sql-tuesday-106-how-to-use-triggers-and-not-be-sad/
Thanks for hosting, Steve!
LikeLike
Thanks for hosting!
http://www.reiddewolfe.com/2018/09/t-sql-tuesday-106-asynchronous-triggers.html
LikeLike
Hi Steve, this is my post:
http://www.sqlguatemala.com/2018/09/pride-and-prejudice-and-triggers.html
thanks.
LikeLike
Interesting topic with some thoughtful ideas.
https://cognimea-blog.blogspot.com/2018/09/when-it-comes-to-triggers-i-have.html
LikeLike
Pingback: TSQL Tuesday: Who is on my server? | SQLGene – Learning SQL Slowly
Here is my entry: http://www.sqlgene.com/2018/09/12/tsql-tuesday-who-is-on-my-server/
LikeLike
Pingback: T-SQL Tuesday 106: 5 Things Not to Do With Triggers – nate_the_dba
I love it when a postback works the first time. =D
LikeLike
Or pingback.. whatever. It’s bedtime. Thanks Steve!
LikeLike
Pingback: T-SQL Tuesday #106 – The Trouble with Triggers | Matthew McGiffen DBA
Hopefully I’m in just under the wire – I believe it’s still Tuesday somewhere!
https://matthewmcgiffen.com/2018/09/12/t-sql-tuesday-106-the-trouble-with-triggers/
LikeLike
Pingback: The Trigger Roundup–T-SQL Tuesday #106 | Voice of the DBA