List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:November 11 2004 8:55pm
Subject:Re: Drop database
View as plain text  
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.
Thread
Drop databasecgifalco11 Nov
  • Re: Drop databaseWarren Young11 Nov
    • Re: Drop databasecgifalco12 Nov
      • Re: Drop databaseChris Frey12 Nov
        • Re: Drop databasecgifalco12 Nov