[freetds] OK to call SQLGetData more than once?
James K. Lowden
jklowden at freetds.org
Wed Feb 6 10:22:30 EST 2008
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
as though reading from a file!
This ODBC stuff is tough. Thanks for the correction. :-)
More information about the FreeTDS