QSqlQuery causing ODBC Function sequence error
问题 I searched SO and Google but didn't find much help on this question. It seems due to ODBC functions being called out out of order. But since I am using QSql that wraps ODBC, it is hard for me to track down the function. Please help... I was able to connect to the sql server database I tested a very simply query and still got the error. I don't think it's due to column binding. I was able to run the query with sql server, so I think the sql query is ok. The tools I am using: VS c++ 2017, CMake