Google has done a lot of admirable things. They also routinely release products that are unable to sort the data they manage on basic fields like name, date created, etc. It's kind of a mixed bag. Buyer beware. One of the unexamined side effects of treating SQL like code is that all that code is then executed on the application server rather than on the database server where it was intended to run. How about we use our tools for the purposes they were invented and optimized? I could go on, but I'll hang onto my stored procs, thanks.