a nice side-benefit of nosql databases is this massively underestimated problem (usually, depends on the product) going away
It's amazing that people are still constructing SQL queries as strings in 2010.
Like I said. It's a solved problem, and has been so for a dozen years now.