From: Warren Young Date: November 11 2004 8:55pm Subject: Re: Drop database List-Archive: http://lists.mysql.com/plusplus/3635 Message-Id: <4193D1BC.6070206@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cgifalco wrote: > query << "CREATE TABLE tab1" > ... > query.execute(); > ... > query << "CREATE TABLE tab2" > ... > query.execute(); Just as with the previous item you posted, you need to reset the query object between those two CREATE calls. Any time you reuse the object, it must be reset before inserting a new SQL statement into it.