microsoft / ODBC-Specification

Microsoft ODBC Specification
Other
122 stars 40 forks source link

SQLGetData Variable-Length in parts no change? #100

Closed lpillar closed 7 years ago

lpillar commented 7 years ago

Based on the documentation here https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlgetdata-function#retrieving-variable-length-data-in-parts, it looks like SQLGetData already supports multiple calls to return variable-length data in parts, but the 4.0 spec appears to propose a new way to fetch variable-length data. Is the 4.0 spec proposing a modification to this behavior, or am I missing something?

matthew-wozniczka commented 7 years ago

If you're talking about section 3.8 (Variable Length Columns), then that's an extension for how to use the existing mechanism to fetch truncated data in parts. Previously there was no way to fetch the data which was truncated while filling a binding.

lpillar commented 7 years ago

Ah, that makes sense - thanks!