SQLGetData not working with SQLFetchScroll when trying to fetch results from a storedproc
- From: Avinash Achar <avinash.achar@xxxxxxxxx>
- Date: Mon, 11 Aug 2008 15:16:40 -0700 (PDT)
Hi
I have been trying to get a NVARCHAR(MAX) column data from a stored
proc using sqlgetdata after doing a sqlfetchscroll but it fails with
the error msg "Result set not generated by a select statement". I am
able to make it work with SQLFetch but I need to use fetchscroll
because I need to use scrolling.The query being executed is a stored
proc. The above problem doesnt occur with normal selects on tables. Is
SQLGetdata incompatible with Stored proc results ? The stored proc
simply does a select on a table and returns the result.
I use sql server 2005 with sql native client. Using
Static_cursor(not using forward only). Any help will be appreciated.
Thanks
Avinash
.
- Follow-Ups:
- RE: SQLGetData not working with SQLFetchScroll when trying to fetch re
- From: Pak-Ming Cheung [MSFT]
- RE: SQLGetData not working with SQLFetchScroll when trying to fetch re
- Prev by Date: achat zocor suisse achat zocor belgique commande en ligne acquerir acheter zocor us usa soft dans commande achat zocor corpus acheter zocor canada le plus bon marche
- Next by Date: odbccommand cant interpret some /*xxx*/ comments
- Previous by thread: achat zocor suisse achat zocor belgique commande en ligne acquerir acheter zocor us usa soft dans commande achat zocor corpus acheter zocor canada le plus bon marche
- Next by thread: RE: SQLGetData not working with SQLFetchScroll when trying to fetch re
- Index(es):
Loading