microsoft / ODBC-Specification

Microsoft ODBC Specification
Other
122 stars 40 forks source link

Should NextColumn return a description of the column? #41

Closed mikepizzo closed 7 years ago

mikepizzo commented 8 years ago

Should SQLNextColumn return a description of the column in order to avoid having to make additional calls to read descriptor fields to find out the type?

mikepizzo commented 7 years ago

In the data_available case (not the metadata_changed case), the application may know the binding information and just need to call GetData/GetNestedHandle. Returning the descriptor information in this case would be unnecessary overhead for both the driver and the client.

This would be a good scenario to prototype and determine when the metadata is needed and to measure overhead.