T-SQL Anti-Patterns: Query By Agonizing Query (QBAQ)

Row By Agonizing Row (RBAR, pronounced "re-bar") was our last anti-pattern.  Today, I'm going to extend it to a term I'm coining, Query By Agonizing Query (QBAQ, pronounced "cue-back").  According to a quick Google search, nobody has used that term before, so that's my claim to fame. What I mean by QBAQ is the following…

Advertisement