codecorner.galanter.net
Elusive “String or binary data would be truncated” error
This was driving me nuts. I have a very basic SQL code similar to I was getting error “String or binary data would be truncated”, but only when 2 conditions were met: @val1 is quite lar…