freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] OK to call SQLGetData more than once?
- From: "James K. Lowden" <jklowden AT freetds.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] OK to call SQLGetData more than once?
- Date: Wed, 6 Feb 2008 10:22:30 -0500
ZIGLIO, Frediano, VF-IT wrote:
> > http://msdn2.microsoft.com/en-us/library/ms715441(VS.85).aspx
> >
> > "... within a row of data, the value of the
> > ColumnNumber argument in each
> > call to SQLGetData must be greater than or equal to the value of
> > ColumnNumber in the previous call".
>
> Successive calls to SQLGetData
> returns other parts of the data. For fixed type you have to read all
> data, for variable you can read splitting chunks.
Oh. You must be thinking of this:
"If SQLGetData is called more than one time in a row for a column
containing fixed-length data, it returns SQL_NO_DATA for all calls after
the first."
as though reading from a file!
This ODBC stuff is tough. Thanks for the correction. :-)
--jkl
-
[freetds] OK to call SQLGetData more than once?,
James K. Lowden, 02/06/2008
-
Re: [freetds] OK to call SQLGetData more than once?,
ZIGLIO, Frediano, VF-IT, 02/06/2008
- Re: [freetds] OK to call SQLGetData more than once?, James K. Lowden, 02/06/2008
-
Re: [freetds] OK to call SQLGetData more than once?,
ZIGLIO, Frediano, VF-IT, 02/06/2008
Archive powered by MHonArc 2.6.24.