[unixODBC-support] SQLFetch without bound columns?

William Shallum loumz at loumz.com
Wed Jun 2 17:14:45 BST 2010


Hello,

Is it possible to call SQLFetch without bound columns? It seems that
the current implementation returns an error w/ SQLState SL009 "No
columns were bound prior to calling SQLFetch or SQLFetchScroll".
Microsoft's documentation[1] states that:

> If no columns are bound, SQLFetch returns no data but does move the block cursor forward.

Is there any reason why unixODBC's implementation returns an error in this case?

[1]: http://msdn.microsoft.com/en-us/library/ms712424(v=VS.85).aspx


More information about the unixODBC-support mailing list