cfscript version of http://www.cflib.org/udf/queryExecute