The long and winding road III
December 15, 2006 3 Comments
Of course, what you could do in this situation is write a set of encapsulating functions that return the conditions of the WHERE clause. But then you’re probably sacrificing some degree of maintainability and visibility/simplicity of code.
I was reminded of the quote from Pulp Fiction, well really from the Bible of course (Ezekial 25:17), which one could try to adapt in a pathetic attempt at geeky humour:
“Blessed is he, who in the name of relational databases and set operations, shepherds the weak through the valley of ORM mapping tools for he is truly his brother’s keeper, and the finder of lost database developers.
And I will strike down upon thee with great wait events and furious hit ratios, those who poison and destory my database efficiency.
And you will know my name is Oracle, when I lay my buffer cache upon thee.”
… oh dear….