From: Warren Young Date: July 16 2007 4:49pm Subject: Re: Weird parsing of templated query List-Archive: http://lists.mysql.com/plusplus/6818 Message-Id: <469BA1AE.8070109@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit roberto previdi wrote: > q <<"select * from `Mob` where objectId=%0:objectId"; Single parameter queries don't work right with the SQLQueryParms mechanism. This has been discussed again and again and again and again on this list, and it's even documented. You can use the %1 workaround, or the Query streams interface.