cancel
Showing results for 
Search instead for 
Did you mean: 

string truncation in ianywhere.data.SqlAnywhere.v4.0.dll

Former Member
0 Kudos
2,959

Our database connections currently use the Microsoft system.data.odbc assembly. We discovered the Sybase assembly is more efficient. We tried to replace the Microsoft assembly with ianywhere.data.SqlAnywhere.v4.0.dll. Assembly version was 11.0.1.29134. SADataReader failed to read large string values properly.

For example, several rows contained over 80000 characters in the string column. However, it only returned 65535 characters. We also had some rows containing over 160000 characters - and those worked fine. We tried to work around the problem using casts, appending spaces within query, etc. However, nothing worked.

The column in question is a "long varchar" column (CLOB). So maybe these column types have issues. We have decided to keep using the Microsoft solution until the bug is addressed.

Accepted Solutions (0)

Answers (1)

Answers (1)

jeff_albion
Product and Topic Expert
Product and Topic Expert

UPDATE: This issue is now resolved in CR #742857, in builds 11.0.1.3013, 12.0.1.3937, 16.0.0.1602.


I have now been able to reproduce this issue and have opened CR #742857 to address this problem in a future EBF of SQL Anywhere. Thank you for the bug report.