Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise Developer Center
Viewing all articles
Browse latest Browse all 1240

ADO.Net 16 SP02 PL02: update Text column -> String data, right truncated

$
0
0

Hi,

 

i am upgrading our existing codebase and moving from some old(er) ADO.Net drivers (2.157) to the latest one available (16.0.02.02).

 

New drivers are working fine except updating a text column with more than 32Kb. The update used to work with the older drivers. I have tried executing 'set textsize xxx' before the statement but also setting the TextSize property in the ConnectionString. None of these two methods seem to work. i get the following message from ASE (that is also a 16.0 SP02 PL02):

 

"String data, right truncated"

 

I am sure the textsize is set, because i print the @@textsize variable just before updating, and it is set to correct number i have set.

 

Anyone got an idea?

 

PS: i can find the SDK documentation for the ADO.Net driver till ASE 15.7 (on the 'old' sybase documentation site), but for the ASE 16 i can't seem to find anything. i'm looking here: SAP Adaptive Server Enterprise 16.0 SP02 – SAP Help Portal Page

 

Greetz

Pieter


Viewing all articles
Browse latest Browse all 1240

Trending Articles