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

Invalid parameter values passed in, due to size mismatch. #21

Merged
merged 1 commit into from
Oct 13, 2013

Conversation

maparent
Copy link
Contributor

Thank you very much for the last correction.
This one is quite important:
we get very wrong parameter values. I still have to write a test case for it, but I thought you should run your own testcases against it as-is.

mkleehammer added a commit that referenced this pull request Oct 13, 2013
Invalid parameter values passed in, due to size mismatch.
@mkleehammer mkleehammer merged commit c80051c into mkleehammer:master Oct 13, 2013
@mkleehammer
Copy link
Owner

Thanks. The Microsoft ODBC documentation indicates that the C_SBIGINT are the right choice, but I tested SQL_C_LONG in Python 2.7 32-bit and 64-bit builds with SQL Server. It makes sense on 64-bit builds to use long for BIGINT, but I'm still not sure why C_BIGINT didn't work. ODBC drivers are not very consistent.

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

Successfully merging this pull request may close these issues.

None yet

2 participants