Hi,
I'm trying to query the week of the year on a MySQL server.
Code:
bool bRes = qSQLQuery.exec(qQuery); int iCols = qRecord.count(); //Returns me "1"
The result "qWeekDay" is an empty QString.
I have tryied it to a SQL Server via ODBC driver:
And I'm getting the same value, an empty QString.Code:
bool bRes = qSQLQuery.exec(qQuery); int iCols = qRecord.count();
I know that QDate let me obtaing this information but I want to query the DB Server to get always the same values on different workstations.
Thanks,