Re: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- From: "Todor Todorov" <cdm@xxxxxxxxxxxxx>
- Date: Thu, 8 Feb 2007 13:18:05 +0100
Hi Wen,
The work around is not to open or do anything with other statements until all the data for a column is fetched with SQLGetData. It would be nice if future versions of the SQL ODBC driver throw an exception.
What I'll need is a knowledge base article or something that describes the bug, even if it points out that there is no solution to it. It will olso be much easier for other ppl. in the future to diagnose this problem - I had to go through a log of trouble to find anything about it.
Thanks!
-- Todor
""WenYuan Wang"" <v-wywang@xxxxxxxxxxxxxxxxxxxx> wrote in message news:hDWROD3SHHA.2356@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Todor,
Thanks very much for your waiting.
I have consulted with our product team members. They have confirmed this
issue is an ODBC bug and created a bug record in the bug list. If we are
using ODBC driver for SQL server, we can only connect ->execute one
stmt->get ALL results->execute another stmt->get ALL results.
According the idea of product team, it seems next version of ODBC driver
will throw an exception instead of infinitely waiting. But I'm afraid this
issue will not be fixed immediately and there is no work around to this
issue now. I'm very sorry to hear that you're having such a painful
experience with ODBC driver. If there is anything we can help with, please
feel free to reply me. I'm glad to assist you.
Bug: sqlsrv32 waits infinitely when a result set is opened in another
statement handle.
Many thanks for your understanding!
Wen Yuan
.
- Follow-Ups:
- References:
- MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- From: Todor Todorov
- RE: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- From: "WenYuan Wang"
- Re: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- From: Todor Todorov
- Re: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- From: "WenYuan Wang"
- Re: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- From: Todor Todorov
- Re: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- From: "WenYuan Wang"
- MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- Prev by Date: Re: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- Next by Date: Re: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- Previous by thread: Re: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- Next by thread: Re: MS SQL Server ODBC Driver hanging code when using multiple active statements and SQLGetData
- Index(es):
Relevant Pages
|