Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indirect column binding #123

Open
SoronelHaetir opened this issue Aug 31, 2017 · 0 comments
Open

Indirect column binding #123

SoronelHaetir opened this issue Aug 31, 2017 · 0 comments

Comments

@SoronelHaetir
Copy link

Something I have long wanted from ODBC is the ability to do indirect column binding (the way OLEDB can with its DBTYPE_BYREF).

Right now ODBC bindings must be 'flat', that is the memory must be present at the address calculated by adding any offset to the address passed to SQLBindCol//SQLBindParameter. It would be very useful if instead the buffer at the calculated address were itself a pointer and thus allowed structures with embedded pointers to be used when row-wise binding is in effect.

It is possible to perform such indirect binding by using data-at-exec but that is a complicated process for something that could be achieved far easier by the addition of new C target type values (the method I would prefer) or a descriptor attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant