Skip to content

Unable to upload large BLOBs with "SQL Server" driver on Windows #1311

Answered by gordthompson
harshparekhau asked this question in Q&A
Discussion options

You must be logged in to vote

@v-chojas - I do get an error when I try to use the ancient Driver=SQL Server:

pyodbc.Error: ('HY000', '[HY000] [Microsoft][ODBC SQL Server Driver]Warning: Partial insert/update. The insert/update of a text or image column(s) did not succeed. (0) (SQLPutData); [HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]The text, ntext, or image pointer value conflicts with the column name specified. (7125)')

A smaller PDF file (16 KiB) works, but the larger (8 MiB) file fails.

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@gordthompson
Comment options

Answer selected by gordthompson
@v-chojas
Comment options

@gordthompson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #1310 on December 08, 2023 16:18.