RE: SQLGetData not working with SQLFetchScroll when trying to fetch re
- From: Pak-Ming Cheung [MSFT] <PakMingCheungMSFT@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Aug 2008 20:04:01 -0700
I believe the design of SNAC driver should allow that. In other words, this
may be a bug in SNAC.
So, could you please give us a program to reproduce the problem?
Thanks,
Ming.
MDAC Team, Microsoft.
"Avinash Achar" wrote:
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
- References:
- Prev by Date: RE: odbccommand cant interpret some /*xxx*/ comments
- Next by Date: RE: odbccommand cant interpret some /*xxx*/ comments
- Previous by thread: SQLGetData not working with SQLFetchScroll when trying to fetch results from a storedproc
- Next by thread: odbccommand cant interpret some /*xxx*/ comments
- Index(es):
Loading