David Tate
  • Home
  • About
  • Books
  • DIY Tech MBA

Latest

Triggers Part 2: Facts and Frequently-Occuring-Problems (FOP)

This is part of a 3 part epic mini-series on triggers, view Part 1 and Part 3. When are triggers fired, and how many times? For your standard missionary position trigger, they are fired once per batch. So if you have an update statement that affects 57 rows, then
David Tate Aug 19, 2009

Triggers Part 1: Introduction to madness, plus whores

This is part of a 3 part epic mini-series on triggers, view Part 2 and Part 3. According to the standard developer canon about databases you should avoid triggers like you avoid wearing your “I love goto statements” t-shirt at the company Christmas party (again).  Knowledge of triggers
David Tate Aug 18, 2009

Running SQL cross servers

If you work with more than one database and have the constant need to run the same query across multiple servers, the undocumented stored procedure sp_MSforeachdb can be useful; see below example comparing stored procedures across servers using a simple checksum to tell if they are the same exact
David Tate Aug 17, 2009
  • [Product of BGA Studios]:
  • Navigating Remote Work
  • DIY Tech MBA
  • 10x Debugger
David Tate © 2026. Powered by Ghost