SQLException : String or binary data would be truncated

前端 未结 12 950
被撕碎了的回忆
被撕碎了的回忆 2020-11-27 06:41

I have a C# code which does lot of insert statements in a batch. While executing these statements, I got \"String or binary data would be truncated\" error and transaction r

12条回答
  •  情话喂你
    2020-11-27 07:26

    This type of error occurs when the datatype of the SQL Server column has a length which is less than the length of the data entered into the entry form.

提交回复
热议问题