Skip to Content.
Sympa Menu

freetds - Re: [freetds] OK to call SQLGetData more than once?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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




Archive powered by MHonArc 2.6.24.

Top of Page