Will the isSelect-method of QSqlQuery return true when a stored procedure containing a SELECT-statment is executed on sqlserver?
views:
59answers:
1
A:
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.
Mathias
2009-09-16 07:10:49