[Qt-interest] mysql select query returns null
Martin Gebert
martin.gebert at alpha-bit.de
Tue Aug 11 11:54:53 CEST 2009
> i need a fast reply, because i am at the deadline..
It won't get faster with this disclaimer - you may even keep some people
from replying...
> my question is why i can not execute select queries?
I think you can; it just doesn't return a result. Use QSqlQuery::lastError()
and QSqlDatabase::lastError() to find out what's wrong. If this doesn't
reveal anything, you'll have to check your DB's contents and the query
string (try to execute it on the mysql command line client).
Martin
More information about the Qt-interest-old
mailing list