Will the isSelect-method of QSqlQuery return true when a stored procedure containing a SELECT-statment is executed on sqlserver?
Will the isSelect-method of QSqlQuery return true when a stored procedure containing a SELECT-statment
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The documentation states that isSelect: “Returns true if the current query is a SELECT statement; otherwise returns false”
During my testing I found that it also returns true for an EXEC statement on sqlserver if there is a result-set to be fetched.