Closed ww2406 closed 1 year ago
Can you post an ODBC trace? Also is this related to https://github.com/mkleehammer/pyodbc/issues/867?
Also is this related to #867?
@v-makouz - Yes. See
https://github.com/mkleehammer/pyodbc/issues/867#issuecomment-777072597
Solution: #490
Please first make sure you have looked at:
Environment
To diagnose, we usually need to know the following, including version numbers. On Windows, be sure to specify 32-bit Python or 64-bit:
Issue
Using the following table:
inserting into a geometry column using geometry::STGeomFromBinary or geometry::STGeomFromText fails when fast_executemany=True.
For this example geometry, the binary case yields
and the string case yields
In the one row case in C# the insert works as expected (only binary case tested), but I'm not sure if C# statement preparation is closer to fast_executemany=False or fast_executemany=True...