you are viewing a single comment's thread
view the rest of the comments
[+] 2 points 2 years ago (1 child)
  • [–] 1 point 2 years ago

    Oh yeah, I love people who stick SQL lookups in a For Loop. Even better, the coder who puts conditional if (but no then/else) clauses around a dozen raw text execution commands that fire in sequence. So you're making six distinct lookups per iteration rather than answering your question in a single query and referencing the results from memory.

    Internal screaming

  • source
  • parent