Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am getting exception on


C#
entities.ABCTable.Where(abcTable => abcTable.Comment.ToUpper() == value.ToUpper()).FirstOrDefault()


Here, Column 'Comment' length is varchar 3500 and input value length is 300.

But don't know why getting this exception :
"ERROR [22001] [IBM] CLI0109E String data right truncation. SQLSTATE=22001"


Thanks in Advance :)
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900