I made a simple app with QSqlQueryModel and attached it to a QTableView, I connnected it to an MSSQL server and trace it and found that there are millions of sp_cursorfetch traces ( this grows as i move the scroll bar in my view). Since i am not a database guy. i googled it and it says its bad to the network since its fetching a single row at a time and so the whole overhead for the network transfer is added to every singel row.
Can someone enlightened me on this one. How can i make my model not to use sp_cursorfetch?
baray98
Bookmarks