in reply to Re^3: DB Question, speed is the answer!
in thread DB Question, speed is the answer!

I agree with using placeholders when there are variables in the query, but saying "sure, it's static today...but that doesn't mean it always will be" is like saying "Sure, your print statement doesn't need formatted output today, but someday it might. Therefore, always use printf." Planning for "someday" is an exercise in futility; code for what you need today and worry about tomorrow when it gets here.

thor

Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come

  • Comment on Re^4: DB Question, speed is the answer!