In MySQL workbench i tried the following :
It agave me the errors in the last executed statement, how to execute the same statement from QT application?
In MySQL workbench i tried the following :
It agave me the errors in the last executed statement, how to execute the same statement from QT application?
Look at QSqlQuery::lastError and QSqlDatabase::lastError.
Bookmarks