From: Warren Young Date: December 12 2008 2:12am Subject: Re: Escaping queries List-Archive: http://lists.mysql.com/plusplus/8257 Message-Id: <6539AC7F-531E-4DAF-A2CF-A9F846ADD1A4@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Dec 11, 2008, at 4:23 PM, r ottmanj wrote: > is there another way to do it with mysql++ http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#qescape > insStr = insStr + "," + column C++ is not one of the languages where concatenating strings like this works very well. It *can* work, but due to the limitations of a static type system, it's often more trouble than it's worth. Better to use IOstream objects like ostringstream and mysqlpp::Query.