ijibu / odbc

Automatically exported from code.google.com/p/odbc
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

cannot use string sql parameters larger then 4000 chars (on windows only against ms sql server) #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It probably is a vendor specific limitation. We probably needs to use 
SQLPutData for these.

Alex

Original issue reported on code.google.com by alex.bra...@gmail.com on 10 Sep 2013 at 2:29

GoogleCodeExporter commented 9 years ago

Original comment by alex.bra...@gmail.com on 10 Sep 2013 at 2:30

GoogleCodeExporter commented 9 years ago
Changed my mind after rereading https://codereview.appspot.com/13253046/#msg4:

... fixed this by setting the sqltype to api.SQL_WLONGVARCHAR for strings with 
a length over 4000 ...

Alex

Original comment by alex.bra...@gmail.com on 10 Sep 2013 at 4:12