From: Warren Young Date: March 19 2007 8:34pm Subject: Re: UPDATE routine giving exception List-Archive: http://lists.mysql.com/plusplus/6456 Message-Id: <45FEF3E8.9060009@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit gary clark wrote: > > query << "UPDATE clienttransfer SET isCompleted=1 > WHERE isCompleted=1" << endl; The problem here is the endl, not something in MySQL. The exception was MySQL telling you that it doesn't know what to do with that newline character. You could have just taken it out, instead of changing over to SSQLS. That aside, why is this query useful...isn't it a no-op?