Qt不支持同时创建两个表吗?
为什么这样子会创建数据库表失败,Qt不支持同时创建两个表吗?你可以查下qt帮助手册关于bool QSqlQuery::exec(const QString &query)的描述:For SQLite, the query string can contain only one statement at a time.If more than one statement is given, the function returns false.明确说明了查询字符串一次只能包含一条语句。你分成两条语句创建不可以了吗
页:
[1]